WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] How to change subdirectory name? (4 posts)

  1. erusch
    Member
    Posted 8 years ago #

    I installed WP in its own subdirectory which I named "/blog". Now I want to change the name of the subdirectory. I figured (incorrectly) that I just had to rename the directory and change the URI in General Options but in doing so, I've lost my WP theme and can't log in anymore. I renamed the subdirectory back to "blog" but that didn't work.

    Does anyone know the best way to correct this problem?

    It's a recent install and wouldn't kill me to reinstall but I'd rather not.

    Thanks

  2. MichaelH
    Member
    Posted 8 years ago #

  3. moshu
    Member
    Posted 8 years ago #

    The order of operations was wrong :)
    1. Change the URIs in the options
    2. Rename the directory.

    If you screwed up... go into the DB and follow this tutorial to restore the initial values:
    http://www.tamba2.org.uk/wordpress/site-url/
    Then start it over.

  4. erusch
    Member
    Posted 8 years ago #

    Thanks moshu. You are awesome.

Topic Closed

This topic has been closed to new replies.

About this Topic