htaccess rewrite url and remove question mark |
[eluser]bretticus[/eluser]
Okay, that makes sense for the HTTPS rule. Did you try my suggestions? Did you escape the question mark? You might want to just use Quote:RewriteCond %{HTTP_HOST} !=""and Quote:RewriteCond %{REQUEST_FILENAME} !-f In that order and leave the other junk out until you get it working.
[eluser]Omega Priyankara[/eluser]
I am having the same problem, tried with RewriteRule ^/oldurl.html$ http://www.maysite.com/news/view/newurl.html [R=301] Didn't work.
[eluser]stuckinphp[/eluser]
Had similar issue, turns out I mistakenly set up the config with enable query strings turned on. Old thread I know but if google is going to give me this as the top result for "codeignigter questionmark" I assume a few more will find it also.
[eluser]Unknown[/eluser]
hi guys, I have the same problem here. I have urls like: www.domain.com/computers/repair.html?page=bla bla bla The part behind "page=" is dynamic. Now what i want is to auto redirect www.domain.com/computers/repair.html?page=bla bla bla to www.domain.com/computers/repair.html So remove the ?page=bla... How can i do this in htaccess? Thnx in advance |
Welcome Guest, Not a member yet? Register Sign In |