• Hello, I see that others have posted about this error message but my issue seems to be different.

    I transferred a local site to replace a previous WP site. When I change the local urls (site url and home url) in phpmyadmin to the correct live url, I get the error: “This webpage has a redirect loop.” When I change the site url only and leave the home url I can successfully see the homepage and access the backend files/pages but of course all of page permalinks direct to the local site.

    Where did I go wrong in the installation? Thank you in advance for any help.
    https://movingpoetscharlotte.org

Viewing 3 replies - 1 through 3 (of 3 total)
  • Stuart Duff – a11n

    (@stuartduff)

    Automattic Happiness Engineer

    Hey Sarah,

    As a test have you tried disabling all of your plugins and changing the urls to rule out any possible conflicts that may cause a redirect.

    Thread Starter sarahtodde

    (@sarahtodde)

    Hi Stuart, Good suggestion. I tried that but no luck.

    I have also tried adding “define(‘RELOCATE’, true);” to my wp-config.php file

    as well as creating an .htaccess file and placing this:
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    Thanks again. Let me know if you have any other suggestions.

    Thread Starter sarahtodde

    (@sarahtodde)

    I discovered the Duplicator plugin and started from scratch with the migrate using that. Worked like a charm. Great tool. Not sure where I went wrong originally but all is good.THanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘local host migration, This webpage has a redirect loop’ is closed to new replies.