WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Running Blog off Root Directory

[Resolved] Running Blog off Root Directory

  • Hi,

    I’ve read the article on moving my blog to the root directory, and have changed the URL in the ‘Blog Address’ field. However, the next step mentions moving the ‘core files’. I’m completely new to this, so can someone clear up:

    -What are the core files?
    -Where do I move them to?!

    Any help is greatly appreciated.

    Thanks!

Viewing 8 replies - 1 through 8 (of 8 total)
  • Can anyone help please?

    You could review Moving WordPress.

    Or, to make WordPress available at http://mydomain.com just change in Settings->General, the Blog address (URL) to http://mydomain.com and put this index.php file in your web-root folder (it is the same folder that contains the blog folder)

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

    Then update your permalinks in Settings->Permalinks.

    Of course if WordPress is not in blog, just replace the references to ./blog to whatever folder WordPress is in.

    Hi,

    I had previously reviewed the article you posted, and just got confused about what it meant by ‘core files’, and where to put them. I assume the index.php file you mention above needs to be created? Is that all I need to move?

    I assume the index.php file you mention above needs to be created?

    Yes.

    Is that all I need to move?

    With my suggestion nothing gets moved.

    Please note core files would be all those files included in the distribution available via the Download tab at the top of this page.

    Thanks Michael, I’ll give this a shot.

    Hi. I made this file, and put it in the same folder as the ‘wp-blog-header’ etc, and there was already an index.php in there. Replacing this didn’t work, and gave me an error message.

    Maybe the second video in the following post will help.

    How to Move WordPress from a Subdirectory to Root and Vice-Versa

    Superb video and solved my problem. Many thanks figaro.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Resolved] Running Blog off Root Directory’ is closed to new replies.
Skip to toolbar