WordPress.org

Support

Support » Installation » day 4 – new install to subdirectory-display blog at root

day 4 – new install to subdirectory-display blog at root

  • myBuddyonMaui
    Member

    @mybuddyonmaui

    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!

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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.

    myBuddyonMaui
    Member

    @mybuddyonmaui

    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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘day 4 – new install to subdirectory-display blog at root’ is closed to new replies.