• Resolved ajay182

    (@ajay182)


    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)
  • Thread Starter ajay182

    (@ajay182)

    Can anyone help please?

    You could review Moving WordPress.

    Or, to make WordPress available at https://mydomain.com just change in Settings->General, the Blog address (URL) to https://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.

    Thread Starter ajay182

    (@ajay182)

    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.

    Thread Starter ajay182

    (@ajay182)

    Thanks Michael, I’ll give this a shot.

    Thread Starter ajay182

    (@ajay182)

    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.

    https://educhalk.org/blog/?p=82

    Thread Starter ajay182

    (@ajay182)

    Superb video and solved my problem. Many thanks figaro.

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