.htaccess, 301 redirect and question mark |
Hello,
I have an htaccess wich has an 301 redirect. However the redirect gives me as result contact/?/my-page I need to get rid of the /?/my-page Code: <IfModule mod_rewrite.c> Using Google I got severall hits where a ? in the redirect was recommended or using a RewriteRule instead of an Redirect. However it does not seem to work. Anyone an idea ?
I found it:
Code: <IfModule mod_rewrite.c> Note : (and that was also my problem) delete the cache after every change. I have RewriteRule ^my-page http://www.domain.nl/contact [R=301,L] before, but didn't cleared my history (firefox) |
Welcome Guest, Not a member yet? Register Sign In |