WordPress.org

Ready to get started?Download WordPress

Forums

day 4 - new install to subdirectory-display blog at root (3 posts)

  1. myBuddyonMaui
    Member
    Posted 4 years ago #

    Host: ixwebhosting

    I attempted to do the following but it doesn't work for me:

    New WordPress installation

    It’s easy. First, simply unpack WordPress into a subdirectory of your site. Then all you have to do is copy the index.php file from the WP directory into the root directory of your site, and make a single change (the original index.php is still in the WP directory - do I need to delete the original?). Look for this line:

    /** Loads the WordPress Environment and Template */
    require('./wp-blog-header.php');

    And change it to this, replacing “wordpress” in the path to whatever directory you installed WP into.

    /** Loads the WordPress Environment and Template */
    require('./wordpress/wp-blog-header.php');

    And that’s it! Your blog content will now appear at the root of your site, and your admin area is now at http://www.example.org/wordpress/wp-admin/.

    When I try to pull up http://www.example.org, I get the default "under construction" page and NOT my blog. Asked host to help me and after 30 minutes they said, "I regret, but we don't provide such services for our customers, you must to move it by yourself using previous guide link."

    Need help please!

  2. Saildude
    Member
    Posted 4 years ago #

    If you have the good old "Under Construction" sign, you probably still have your index.html file in your root. FTP into the root and rename the index.html file to something else. Both files in the root and the .html file will execute first.

  3. myBuddyonMaui
    Member
    Posted 4 years ago #

    I really was hoping your answer was going to work.... sadly it didn't.

    I have a feeling there's a simple step that is being left out of every single guide on how to do this

Topic Closed

This topic has been closed to new replies.

About this Topic