Hi, I'd like to know what command I'd need to insert into my .htaccess to redirect/rewrite http://www.titanarcade.com/index.php to http://www.titanarcade.com/ but at the same time NOT redirecting/rewriting http://www.titanarcade.com/index.php?action=register. Thanks! Vincent
This should be something like this: RewriteEngine On RewriteRule ^index\.(php|html|htm) http://www.titanarcade.com/ [L,R=301] RewriteRule ^index\.php?action=register$ http://www.titanarcade.com/index.php?action=register [L,R=301] Code (markup):
Hi Trusted Writer, When I try your code it loop infinitely... And a clarification, when I was saying that I'd like for http://www.titanarcade.com/index.php?action=register to stay the same I was referring to any php string except index.php... So the only thing I'd like the script to do would be to rewrite/redirect http://www.titanarcade.com/index.php to http://www.titanarcade.com/ without rewriting/redirecting any http://www.titanarcade.com/index.php* . Thanks! Vincent
Your web site's default directory index is index.php. Try adding this right above "RewriteEngine On": DirectoryIndex <ROOT_PAGE_HERE> index.php Code (markup): Replace <ROOT_PAGE_HERE> with the filename of the page that you would like to come up when the root of the page is called. This will prioritize that page above index.php, unless index.php is explicitly called. Jason