Forums

Which is root directory - Bluehost (3 posts)

  1. downpour
    Member
    Posted 1 year ago #

    I'm hosting with Bluehost and trying to setup WP. In Step 4 of the detailed installation instructions, I'm supposed to upload the WP files to the 'root directory' on my server. But...I'm not sure exactly which one is the root. The very top folder in File Manager is /home/downpour, then under that is public_html, www, etc. Where exactly do the WP files go?

    I've done quite a bit of html editing but this hosting thing is a whole new deal!

    Thank you for your help!

  2. MichaelH
    moderator
    Posted 1 year ago #

    On your main registered domain, public_html is that domain's web-root folder.

    Add-on domains, when you create them, will create their own folder under the public_html folder.

  3. MichaelH
    moderator
    Posted 1 year ago #

    On bluehost, I like to upload the wordpress zip file into the public_html folder, use the Extract File Contents, that extracts the files to public_html/wordpress, then I put the wp-config.php file in public_html/wordpress, navigate to http://www.sample.com/wordpress, answer the questions, login, goto Options-General, take the /wordpress off the end of the Blog address (URL) and then put an index.php file in public_html that is this:

    <?php
    /* Short and sweet */
    define('WP_USE_THEMES', true);
    require('./wordpress/wp-blog-header.php');
    ?>

    That allows you to access your blog at http://www.sample.com (your domain there of course).

    This particular setup is described at: http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory

Topic Closed

This topic has been closed to new replies.

About this Topic