Rewrite works, but url still got parameters?

Topics: Developer Forum
Apr 7, 2009 at 10:33 AM
Edited Apr 7, 2009 at 11:59 AM
Hello,

This is my ini file:


RewriteLog c:\IIRFLOGS\iirf
RewriteLogLevel 5

RewriteRule ^/bekkering/images/(.*)/(.*)   /bekkering/images/$1/$2
RewriteRule ^/bekkering/images/(.*)   /bekkering/images/$1
RewriteRule ^/bekkering/js/(.*)   /bekkering/js/$1
RewriteRule ^/bekkering/css/(.*)   /bekkering/css/$1
RewriteRule ^/bekkering/(.*)/   /bekkering?page=$1



When i type: www.domain.com/bekkering/about/

then the browser redirects me to: www.domain.com/bekkering/?page=about

But there must be a way to stay on the  /about/  url i think?

What do i wrong? Its very important for SEO...

With kind regards,

Leon Kunst
Netherlands
Coordinator
May 1, 2009 at 9:27 AM
hmm I don't understand the question.

Your final rule applies to the url like www.domain.com/bekkering/about/.

Apparently you do not like the results.  What do you prefer?  Examples please.  I am not clear on what you mean by "must be a way to stay on the /about/ url".  

May 1, 2009 at 12:31 PM
Hi Cheeso,

My problem is solved a few days ago.

I had a  \ instead of  /  what i can remember...

my problem was, when i go to: www.domain.com/bekkering/about   my url rewrited to: www.domain.com/bekkering/page=about

nou my problem is solved, he nicely goes to: www.domain.com/bekkering/about :)

It works perfectly, even when i use more scripts for several sites!

sorry for my broke english :)

But thanks anyway,

Leon