Support » Fixing WordPress » problems after changing domain

  • Resolved Lucille85

    (@lucille85)


    Hi everyone,
    I am having problems with changing the domain of my WP site. After changing it unter Settings -> General, the frontend of the site is running without problems, but when I try to login into the backend, after filling out username and password I only get a white screen. I checked the wp_options table in the database, where home and site url are correct. In wp-config.php I set debug to true, but there are no errors, just some warnings. I also inserted the new url in wp-config.php by

    define('WP_SITEURL', 'http://newdomain.com');
    define('WP_HOME', 'http://newdomain.com');

    that doesn’t make any difference, still a white screen in the backend. When I change everything back to the old domain, I can login without a white screen and everything is running ok.
    I haven’t tried to disable all the plugins, because when the backend is accessible with the old domain it won’t be a problem concerning the plugins. Or could it? So before I try this (as there are many plugins), does anyone have any clues to what might have gone wrong?

Viewing 6 replies - 1 through 6 (of 6 total)
  • I assume you moved the WP files from the old domain over to the new one? If so, it’s not unusual that files do not get uploaded correctly. Since you can see the frondend I would suggest re-uploading the wp-admin and wp-includes folders.

    Hi @lucille85.,

    How do you move to New domain? Using any plugin or manually

    Try to migrate duplicator plugin, it’s have high success rate

    Keith

    (@keithdriscoll)

    I’ve heard of this issue when moving from a sub-directory install to a root install if that helps…

    2nd on the Duplicator plugin.

    I didn’t have to upload anything as WP remained at the same webhoster. It was just conncting the existing directory to the new domain. Sorry I didn’t give you the correct informations. So would any of your hints help with this situation as well?

    Keith

    (@keithdriscoll)

    Well, I still think the Duplicator plugin will fix you all up. Here’s how:

    When I change everything back to the old domain, I can login without a white screen and everything is running ok.

    Login to the old domain. Use the plugin to create an image. Then delete all files in the new destination folder (even if it is the same folder) and use the Duplicator’s plugin method of re-installing. The plugin creates an installation file during the backup process that re-installs everything.

    Sure, there are other ways to fix your issue, but this IMO will be quick and most likely work without any hiccups. I have used it extensively, and have moved sites in 15 minutes time 🙂

    Thanks for your help! It’s a great plugin, I installed it on a test site first to see how it works. It worked like a charm, the site was moved to a new domain very quickly. Then I installed it on the “real” site – and had a white screen in the admin area, just like before. So I did what I should have done before, renamed the plugins directory and suddenly had access to the admin area. I don’t understand why that is so, it’s the same server, the same configuration, so why is there this problem with the new domain and not with the old one. Perhaps I will never know, but I know what I will do now: enable the plugins one after another to find out which one is the culprit. So thanks again 🙂

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘problems after changing domain’ is closed to new replies.