WordPress.org

Ready to get started?Download WordPress

Forums

Redirect Loop (4 posts)

  1. shuttersbuddy
    Member
    Posted 5 years ago #

    Hello,

    I'm setting up a blog for my brother, I installed wordpress using Fantastico, but when I go to view it firefox just gives me a Redirect Loop error. Also if I try to login it just seems to reload the page when I enter my info and click login.

    Does anybody know how to fix this?

    Thanks,
    SB

  2. stvwlf
    Member
    Posted 5 years ago #

    If you haven't started doing anything yet, it may be faster to uninstall your installation in Fantastico and just start over again. If it happens a second time, you can post back.

  3. shuttersbuddy
    Member
    Posted 5 years ago #

    I tried that..still doesn't work.

  4. ibloomdrop
    Member
    Posted 4 years ago #

    This is the exact same problem I was having. I found a ton of posts on this, and only found bits and pieces of my answer. Many of the posts suggested it was a problem in the .htaccess file, which it DID turn out to be. Here's my unique situation and how I resolved it.

    I installed a fresh installation of wp into a subdirectory on an existing domain. I received the redirect error described above. I had the 301 redirect information in place in my .htaccess to redirect http://www.mysite.com to mysite.com.

    (Code looks like this:)
    Options +FollowSymlinks
    RewriteEngine on
    rewritecond %{http_host} ^mysite.com [nc]
    rewriterule ^(.*)$ http://www.mysite.com/$1 [r=301,nc]

    Now, I wanted to keep that there, because my wp blog is in a subfolder and I still wanted my root dir to redirect appropriately, but it was causing a Firefox redirect error.

    So....I took out the above code from .htaccess, got into my new wp blog, went to general settings and changed wp url and blog url to INCLUDE the www (since that's my preference)...then went back to .htaccess and readded the code for 301 redirect.

    I do hope this solution helps someone. I worked on it for a while until I figured it out.

Topic Closed

This topic has been closed to new replies.

About this Topic