WordPress.org

Ready to get started?Download WordPress

Forums

Is there anything in WordPress that forces redirects? (3 posts)

  1. lkrubner
    Member
    Posted 6 years ago #

    Wow, this is driving me crazy. We've got a dev site, and a live site, and we've got two WordPress installations on both sites. With our "tsr" WordPress installation, if you want to look at it on the dev site, you can:

    http://www.cyberbitten.com/tsr/

    But with the other WordPress installation, if you go to look at it on the dev site, you automatically get re-directed to the live site. My guess is you will not be able to see this page:

    http://www.cyberbitten.com/bouncing_off_the_bottom/

    If you try to go there, you probably ended up here:

    http://www.thesecondroad.org/bouncing_off_the_bottom/

    This is driving the design team crazy.

    The .htaccess file doesn't seem to have anything in it that would cause a problem:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /bouncing_off_the_bottom/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /bouncing_off_the_bottom/index.php [L]
    </IfModule>
    # END WordPress

    So what else could it be? Does WordPress have an option to auto-redirect? Perhaps we turned something on by accident?

  2. lisavollrath
    Member
    Posted 6 years ago #

    Were they brand new installs, or did you migrate databases somewhere along the line? The only time this has happened to me is when I've moved up from my test box to production, and forgotten to adjust the database to allow for the new location.

  3. lkrubner
    Member
    Posted 6 years ago #

    Yes, I moved the files without changing the database. But I did that with both weblogs, so I'm surprised one is working and one isn't.

    But thanks for the tip.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.