After moving wordpress some files still point to old directory

I moved my wordpress installation from:

/wordpress

to

/html/website

The process was extremely traumatic and even though I followed the instructions closely the site went down a few minutes, after trying everything to get it back up I got to the point that the site works but I cannot remove the old directory since some files seem to still be pointing to it. If I change it’s name to /wordpress2 to see if my website still has dependencies in it I get the error message:

Warning: require_once(/home/content/77/11193277/html/wordpress/wp-includes/pomo/translations.php) [function.require-once]: failed to open stream: No such file or directory in /home/content/77/11192277/html/wordpress/wp-includes/pomo/mo.php on line 10

Showing it’s still pointing to it, how can I fix it? I want to remove the old folder

2 Answers
2

Did you follow these docs?: http://codex.wordpress.org/Moving_WordPress

You can leave all your files in /wordpress/ and simply make WordPress appear to be in root. See http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory#Using_a_pre-existing_subdirectory_install

If /html/website is really web root, you don’t use that string in any configurations, you use mydomain.com.

Leave a Comment