Welcome Guest, Not a member yet? Register   Sign In
301 redirect, htaccess problem
#2

[eluser]Pascal Kriete[/eluser]
Going out on a whim here, but a negative lookahead might work:
Code:
redirectMatch 301 ^/(?!index)(.*)\.php$ http://www.example.com/$1
If that does work, make sure you don't have something like indexthing2.php, since that would match as well.


Messages In This Thread
301 redirect, htaccess problem - by El Forum - 10-24-2008, 02:44 AM
301 redirect, htaccess problem - by El Forum - 10-24-2008, 08:57 AM



Theme © iAndrew 2016 - Forum software by © MyBB