Welcome Guest, Not a member yet? Register   Sign In
htaccess rewrite url and remove question mark
#11

[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} !=""
RewriteRule ^index.php/\?(.*)$ http://%{HTTP_HOST}/$1 [R=301,L]
and

Quote:RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/?$1 [L]

In that order and leave the other junk out until you get it working.


Messages In This Thread
htaccess rewrite url and remove question mark - by El Forum - 10-27-2010, 02:15 PM
htaccess rewrite url and remove question mark - by El Forum - 10-27-2010, 11:59 PM
htaccess rewrite url and remove question mark - by El Forum - 10-28-2010, 12:25 AM
htaccess rewrite url and remove question mark - by El Forum - 10-28-2010, 12:38 AM
htaccess rewrite url and remove question mark - by El Forum - 10-28-2010, 12:52 AM
htaccess rewrite url and remove question mark - by El Forum - 10-28-2010, 01:04 AM
htaccess rewrite url and remove question mark - by El Forum - 10-28-2010, 01:11 AM
htaccess rewrite url and remove question mark - by El Forum - 10-28-2010, 01:38 AM
htaccess rewrite url and remove question mark - by El Forum - 10-28-2010, 01:45 AM
htaccess rewrite url and remove question mark - by El Forum - 10-28-2010, 02:15 AM
htaccess rewrite url and remove question mark - by El Forum - 10-28-2010, 10:05 AM
htaccess rewrite url and remove question mark - by El Forum - 11-30-2010, 11:51 PM
htaccess rewrite url and remove question mark - by El Forum - 06-06-2011, 11:33 PM
htaccess rewrite url and remove question mark - by El Forum - 06-07-2011, 07:03 AM



Theme © iAndrew 2016 - Forum software by © MyBB