![]() |
.htaccess, 301 redirect and question mark - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: .htaccess, 301 redirect and question mark (/showthread.php?tid=1514) |
.htaccess, 301 redirect and question mark - Krycek - 03-17-2015 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 ? RE: .htaccess, 301 redirect and question mark - Krycek - 03-17-2015 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) |