WordPress.org

Support

Support » How-To and Troubleshooting » 403 error when moving wordpress to its own subdirectory

403 error when moving wordpress to its own subdirectory

  • brevityness
    Member

    @brevityness

    I was following the instructions for moving wordpress to its own subdirectory at http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory for my blog loneplacebo.com. However, when I visit the site, it reports a 403.

    Per the instructions, I did the following:

    1. Updated my WordPress and site address to http://loneplacebo.com/loneplacebo and http://loneplacebo.com, respectively.
    2. Uploaded WordPress files to a /loneplacebo/ subdirector folder I created in public_html
    3. Copied the index.php and .htaccess file to my root directory(layer before public_html).
    4. Changed the appropriate line in index.php to indicate the new directory location. require('./loneplacebo/wp-blog-header.php');
    5. Went to Permalink settings and hit save changes without modifying the existing structure

    Did I miss anything?

Viewing 2 replies - 1 through 2 (of 2 total)
  • D M
    Member

    @eloquentbohemian

    I believe that “Copied the index.php and .htaccess file to my root directory(layer before public_html)” is your problem.
    /public_html is your root directory.
    Move your index.php and .htaccess into /public_html

    brevityness
    Member

    @brevityness

    Thanks for pointing that out, Dave. Everything is all fixed now. When in doubt, trust the wordpress codex over a random blog post that shows up in your google search results.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘403 error when moving wordpress to its own subdirectory’ is closed to new replies.