301 redirect causing loop (3 posts)

  1. KirkBishopp
    Posted 3 years ago #

    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:

    Options +FollowSymLinks
    RewriteEngine on
    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.

  2. catacaustic
    very awesome
    Posted 3 years ago #

    All you need to do to "fix" the .htaccess file is to dleete it, then reset your permalink structure by setting it to 'Default', and then back to what it is now. WordPress will re-create the file with only the information that it needs.

  3. goVERBaNOUN
    Posted 2 years ago #

    Cat, thanks for the tip. Just set up my own server and was having the same problem. crowdsourcing IT FTW :D

Topic Closed

This topic has been closed to new replies.

About this Topic