WordPress.org

Ready to get started?Download WordPress

Forums

Can wordpress home page be web site index.html? (4 posts)

  1. tking
    Member
    Posted 4 years ago #

    Currently, my index.html of my website is really ugly when compared to the first page of my blog. Is there anyway the home page of my blog can replace index.html?

  2. MichaelH
    Member
    Posted 4 years ago #

    If your press is installed in your web-root folder, just delete the index.html file.

  3. tking
    Member
    Posted 4 years ago #

    I deleted the index.html file. However, that caused a list of everything in my public_html folder to be displayed. One of those items was the wordpress folder. I then downloaded the index.php file from the wordpress folder and uploaded it into the public html folder. This did not work. I renamed the index.php file to index.html. That did not work. Finally, I uploaded the orginal index.html fiLe.

    WordPress was already installed on my site when I signed up for web hosting. Currently, I access my wordpress page by typing

    http://www.sitename/wordpress

    What exactly do I have to do to install wordpress in my web-root folder?

    Is there anyway that I could someway get the index.php file to work in the public_html folder?

  4. MichaelH
    Member
    Posted 4 years ago #

    To make WordPress available at http://mydomain.com in Settings->General, change the Site address (URL) to http://mydomain.com and put this index.php file in your web-root folder (public_html)

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

    Then update your permalinks by visiting Administration > Settings > Permalinks and clicking on Save Changes.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags