WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Rename Install Folder vs. Move Folder Contents (4 posts)

  1. CubicalWeb
    Member
    Posted 1 year ago #

    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.
    http://codex.wordpress.org/Moving_WordPress

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

    Brian

  2. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

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

  3. CubicalWeb
    Member
    Posted 1 year ago #

    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.

  4. CubicalWeb
    Member
    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.