Forum Moderators: phranque
RewriteRule ^/ index\.php [L,R=301]
I'm sure thats probably not the correct syntax which is why it is looping. Can anyone help?
Thanks in advance for your help!
Wes
Will your site be ".php" forever? Maybe not, so why build-in a latent problem for tomorrow?
See this post [webmasterworld.com] from earlier today for a code example.
You can fix the code you've got if you choose the other way.
In /forums/.htaccess :
RewriteRule ^$ /index\.php [L,R=301]
Jim
The reason I wanted to keep the .php was due to the fact that it is a PHPBB forums and all links in the forums go to index.php instead of /. You are right about it being cleaner and better for search engines. I guess I will change the .htaccess to go to just / and go through the entire forums and update each page to link to the correct location.