So I built a new website for a client inside of a sub-domain in order to preserve their current website while the new one was built. Once I was ready to launch the website, I went into my WP Admin panel and changed the primary links in the setting to be the primary domain instead of the sub-domain. It kicked my out as expected because the folders haven’t been moved yet. So I log-in to the hosting and file manager. I move the old website into a backup folder and then I move the new website into the root directory. The website it now live and seems to be working okay. But when I try to log into my WP Admin panel, it seem to be looking into the old /test directory and I can’t figure out why it’s doing that. This is the error that I receive:
Warning: require_once(/home/content/85/8452185/html/test/wp-includes/load.php) [function.require-once]: failed to open stream: No such file or directory in /home/content/85/8452185/html/test/wp-load.php on line 42
Fatal error: require_once() [function.require]: Failed opening required ‘/home/content/85/8452185/html/test/wp-includes/load.php’ (include_path=’.:/usr/local/php5/lib/php’) in /home/content/85/8452185/html/test/wp-load.php on line 42
It’s strange because it should not be looking inside the /test folder anymore. I moved all the files out of there and into the main directory. I even tried deleting that folder completely to see if it would fix it. It didn’t.
I’ve tried called my hosting providers support but they have no idea what happened and believe that it’s a coding problem within WordPress. I disagree.
Any ideas or advice?
- The topic ‘WordPress Admin Directory Error’ is closed to new replies.