• Resolved matt richards

    (@matt-richards)


    I recently moved servers/hosting providers, but my blog URL remained the same.

    At first I was getting some 404 errors when clicking away from the home page but fixed this by means of uploading the .htaccess file.

    All the links and content to my website are now visible and work apart from the following that result in a blank screen;

    my admin login page AFTER entering login details;

    https://www.MYSITENAME.com/wp-login.php

    home page when “www.” is not specified (e.g. my “home” link on the menu);

    https://MYSITENAME.com

    I’ve tried deactivating all plugins, I’ve also tried testing if a theme is to blame as per this instruction

    I have moved from GoDaddy who use a slightly different absolute path structure to that of my new host. I suspect that this might be the culprit?

    Godaddy structure;

    /home/content/a/b/c/myaccount/html/wp-content

    New Structure;

    public_html/wp-content

    I have found a few of these using PHPmyAdmin and corrected them (all were themes or plugins in wp-options). But I have limited knowledge of running queries and those that I have changed have made no difference.

    Procedure I followed when moving servers;
    Backed up database and files.
    Uploaded files onto new server, imported database.
    edited the config. file to look at the new database.

    Be great to hear suggestions and if my guess is correct, can someone give me an idiots guide of finding and replacing any other old root paths in the database?

    Thanks in advance!

Viewing 2 replies - 16 through 17 (of 17 total)
  • Glad to hear that you finally got it sorted. ??

    “Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or init hooks”

    Before call “wp_deregister_script, wp_register_script, wp_enqueue_script”
    write “$wp_scripts = new WP_Scripts();”

Viewing 2 replies - 16 through 17 (of 17 total)
  • The topic ‘Absolute root path problem after move?’ is closed to new replies.