Support » Installing WordPress » Problems with abspath after migration

  • I had a WordPress site installed at the root, then installed a new site in a subdirectory. When it was time to migrate them, I pointed the domain to the subdirectory by updating the htacess file.

    The issue I had then was that when I would try to login, it would take me to the old site’s admin. If I moved all the old site files off of the root, then some people couldn’t get to the website perhaps because the DNS servers hadn’t fully refreshed.

    I tried updating in the db, and now I get this error when trying to login and [domain]/wp-admin is displayed in the address bar.

    Warning: require_once(/home/summit/public_html/wp-load.php) [function.require-once]: failed to open stream: No such file or directory in /home/summit/public_html/wp-admin/admin.php on line 20

    Fatal error: require_once() [function.require]: Failed opening required '/home/[domainroot]/public_html/wp-load.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/[domainroot]/public_html/wp-admin/admin.php on line 20

    So my problem is that the old site had:

    But the location for the new site should be:

    Does anyone know where I need to go to update the abspath? If this is what is wrong and still pointing to the old location?

    I updated the site and home URLs in the database for the new site, so I’m wondering if it is a file in the root directory that is throwing it off?

  • The topic ‘Problems with abspath after migration’ is closed to new replies.