Support » Installing WordPress » Switching Domains – Endless Loop

Viewing 8 replies - 1 through 8 (of 8 total)
  • Did you change the site_url and home values in the database to reflect domainB instead of domainA/subdir?

    moshu, yes I did. Both site_url and home are set to “”

    Next step: did you try to put the relevant part of your error message in the Search box? Chances are you are not the first with that error…

    Yes, I have been trying to fix this for several hours. There are some posts about redirect loops happening with the admin pages, with permalinks turned on, with an .htaccess file, but none what showed my issue, except for the fact that I was using an older version of WP, but I’ve recently updated.

    I found a posting with a link to

    . It’s a plug-in called Disable Canonical URL Redirection. It seems to work. But it seems strange that I need a plug-in to fix this problem.

    Any other ideas?

    Thanks samboll, but no good. I looked at that before. A forum moderator moved the part of the thread that contained the actual solution to another location, which is now a broken link.

    from the thread:

    This is the entire wp-settings.php file:

    Removed by moderator. Post only your changes, or use for large files.
    The modification is on line 89.

    Also, ‘Disable Canonical URL Redirection’ causes errors in my admin pages making it so I can’t do certain things, like sign out or make certain updates. I get errors like these:

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/i/a/i/foo/html/wp-content/plugins/disable-canonical-redirects/disable-canonical-redirects.php:12) in /home/content/i/a/i/foo/html/wp-login.php on line 267

    wp-login.php Line 267 is:

    header('Content-Type: '.get_bloginfo('html_type').'; charset='.get_bloginfo('charset'));

    I had same issue after moving from wordpress/ to root. disable-canonical-redirect worked for me.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Switching Domains – Endless Loop’ is closed to new replies.