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

  1. erusch
    Posted 9 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.


  2. MichaelH
    Posted 9 years ago #

  3. moshu
    Posted 9 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:
    Then start it over.

  4. erusch
    Posted 9 years ago #

    Thanks moshu. You are awesome.

Topic Closed

This topic has been closed to new replies.

About this Topic