WordPress.org

Ready to get started?Download WordPress

Forums

Changed subdirectory name: Now what? (7 posts)

  1. bizedge
    Member
    Posted 6 years ago #

    When I initially uploaded WP I didn't rename the folder as I should have so I ended up with the URL http://www.mysite.com/wordpress. I asked on this forum how to change that to http://www.mysite.com/blog and was advised to start over and upload the files again with the right name. So I deleted the WP files from my root directory, uploaded with the folder renamed "blog," and everything looks as it should if I look at the files on the server.

    But I confess I'm now lost. If I type in http://www.mysite.com/blog I get a non-descript page with a few links, including one bearing the name of my blog. But any that I click on takes me to a WP page saying "page not found," showing the old path http://www.mysite.com/wordpress. I don't know how to get back to the point where I can pick a theme and start building my blog. What do I need to do now? Thanks for your help!

  2. hotkee
    Member
    Posted 6 years ago #

    change path back from /blog to /wordpress
    login to /wordpress
    change settings for url and site in setttings under the admin menu to /blog
    logout
    change path /wordpress to /blog
    login to /blog

  3. bizedge
    Member
    Posted 6 years ago #

    Really appreciate the feedback. Being a novice, could you explain a little more how I "change path from..."? Thanks!

  4. hotkee
    Member
    Posted 6 years ago #

    I am assuming you had installed to folder /wordpress first, then changed the folder name to /blog.

    Rename your folder from blog to wordpress.

    go to site/wordpress in browser

    Then attempt to login, if ok, then go to Settings and change your two URLs you see there so that they point to your "new" site address i.e. one ending with /blog.

    Click save, you will get white page.

    Then go sitename/blog in browser

    and login should be ok

  5. dandr69
    Member
    Posted 5 years ago #

    You cannot login / change path if you already moved the wordpress pack. You end up with an endless cycle of errors. Probably the path is stored somewhere in config or other settings.

  6. djrockwell
    Member
    Posted 5 years ago #

    I changed the name of my blog subdirectory folder and uploaded it, then tried changing the settings in my WP admin panel and keep getting the database error. Then I go to http://example.com/new blog folder/wp-admin/install.php and get the database connection error.

    The blog is there...I just need to know the WP file(s) that need the file path modified.

  7. djrockwell
    Member
    Posted 5 years ago #

    Now it won't let me access my admin panel using the original folder name either? WTF? I haven't changed anything yet because it wouldn't let me?

    Do I need to create a new wp-config.php?

Topic Closed

This topic has been closed to new replies.

About this Topic