Support » Fixing WordPress » Rename Install Folder vs. Move Folder Contents

  • Resolved CubicalWeb


    I installed WordPress in a folder name “temp” which was not a smart move and now I wish to change it to another name. I’ve read in other posts that I could change the following settings and then simple rename the folder.

    Settings –> General and change:
    WordPress address (URL)
    Site address (URL)

    However, when I do this, I cannot log into the admin site to change the permalinks. I get the following error.

    Warning: require_once(/home/content/11/7705111/html/temp/wp-includes/load.php) [function.require-once]: failed to open stream: No such file or directory in /home/content/11/7705111/html/temp/wp-load.php on line 48

    Fatal error: require_once() [function.require]: Failed opening required ‘/home/content/11/7705111/html/temp/wp-includes/load.php’ (include_path=’.:/usr/local/php5/lib/php’) in /home/content/11/7705111/html/temp/wp-load.php on line 48

    After doing this, I have to go into my database to change the URL back to the temp folder so I can gain access again.

    Also I have read the following information about moving the folder, but I’m not sure how moving the contents of the folder is any different than renaming the folder.

    Hopefully someone here can help guide me in correcting this problem.


Viewing 3 replies - 1 through 3 (of 3 total)
  • esmi


    Forum Moderator

    Change the urls back. See Changing_The_Site_URL for details of how to do this. Then see Giving_WordPress_Its_Own_Directory.

    Thank you so much esmi for the suggested links. I did not expect such a quick reply. I will read through these and hopefully be able to get this fixed before going to work today. I will post back my results.

    After reading the instructions esmi shared, the process was much easier than described. Every time I tried changing the changing…

    Settings –> General:
    WordPress address (URL)
    Site address (URL)

    and renaming the directory, I would get errors. The step that I missed was changing the old folder name in the .htaccess file. Once I did this, everything worked fine in the new folder.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Rename Install Folder vs. Move Folder Contents’ is closed to new replies.