Forums

Own Directory for WordPress but Blog URL in Root (3 posts)

  1. matt1027
    Member
    Posted 5 years ago #

  2. MichaelH
    Volunteer
    Posted 5 years ago #

    Leaving the original index.php in the wordpress folder is fine.

    The index.php file in your root folder should be like:

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

    Also change the Blog address (URL) in Administration > Options > General to http://www.sample.com

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

  3. matt1027
    Member
    Posted 5 years ago #

    Thank you very much for the confirmation. Sorry I forgot to include that I had edited the index.php file to reflect the new Blog URL. I had followed the instructions you mentioned at http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory but couldn't get it to work that way so I tried reversing the procedure (by having Fantastico install it in its own directory to begin with) and wanted to make sure I wasn't missing something. Thanks again, I really appreciate it.

Topic Closed

This topic has been closed to new replies.

About this Topic