301 redirect causing loop
I’m sure this will be simple for someone, but I just can’t seem to get this right. I have a site I just installed in a folder of my domain:
When I set this up initially, I planned on forwarding the domain to /cool but when I tried that with the domain settings, a similar loop was generated. Then I decided to go the .htaccess route since the site is on a linux server, and when I put in the .htacess file in the root folder, I get the loop again. The site gets forwarded to /coolcoolcoolcoolcoolcoolcoolcoolcoolcoolcoolcoolcoolcool
Furthermore, I deleted the .htacess file in the /cool folder but realized that there was wordpress info in there I probably should not have deleted.
Here is what is in my .htacerss file:
RewriteRule (.*) http://www.coolgooglepages.com/cool/$1 [R=301,L]
What do I need to do to fix my .htacess file?
Also, should there be a second .htacess file in the directory of the wp install?
Thank you for the assistance.
- The topic ‘301 redirect causing loop’ is closed to new replies.