301 redirect causing loop
-
Hello,
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:
https://www.coolgooglepages.com/cool
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 /coolcoolcoolcoolcoolcoolcoolcoolcoolcoolcoolcoolcoolcoolFurthermore, 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:
Options +FollowSymLinks
RewriteEngine on
RewriteRule (.*) https://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.
Kirk
- The topic ‘301 redirect causing loop’ is closed to new replies.