I have a small SEO snippet in my htaccessWhich is supposed to redirect requests like 'mysite.com/whatever' to 'mysite.com/index.php?page=whatever'. However, I get a 404 error instead.Code:RewriteRule ^(.*?).html$ ^/index.php?page=$1 [L]
I have a small SEO snippet in my htaccessWhich is supposed to redirect requests like 'mysite.com/whatever' to 'mysite.com/index.php?page=whatever'. However, I get a 404 error instead.Code:RewriteRule ^(.*?).html$ ^/index.php?page=$1 [L]
█ Xavier L | Community Public Relations Manager (Free Hosting Support)
█ Yes, my position is too cool to even exist!
█ How am I helping? Rate this post by clicking theicon below! (this is even better than "liking" a post)
█ Terms of Service | Acceptable Use Policy | x10Hosting Wiki
May I have a link to where this is happening, I'd like to see exactly what happens.
Please tell me that you haveat the top of your .htaccess file.Code:RewriteEngine On
The only thing I would try differently isCode:RewriteRule ^(.*?).html$ ./index.php?page=$1 [L]