WordPress.org

Ready to get started?Download WordPress

Forums

403 error when moving wordpress to its own subdirectory (3 posts)

  1. brevityness
    Member
    Posted 2 years ago #

    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?

  2. D M
    Member
    Posted 2 years ago #

    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

  3. brevityness
    Member
    Posted 2 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic