• The facts:

    I originally had a website, mywebsite.com, and I installed a word press blog on a subdirectoty, mywebsite.com/Blog.

    The I got my wordpress blog looking so good that I wanted to make it my new homepage at mywebsite.com.

    So I changed my blog address in wordpress to mywebsite.com (leaving the wordpress address as mywebsite.com/Blog as it is).

    Then I called up Hostgator and some dude helped me copy all the wp files from /Blog to the public.html. He also left a copy of all those files in /Blog.

    So now when I go my homepage, it shows my blog home page. It also shows my blog home page on myaddress.com/Blog.

    HERE’S THE ISSUE:

    When I make changes to certain code in wordpress (e.g. to footer), it only shows up on /blog and not on the home page.

    Furthermore, plugins like All-In-One SEO pack are not working on the home page, only in /Blog.

    What am I doing wrong here–I just wanted to move my blog to my home page, but I guess I did it all wrong?

    Thanks very much.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    ww.wp.xz.cn Admin

    Yes, you did it all wrong.

    Mainly, you should not have moved all the files from the Blog directory to one level up. Just the main index.php file. Then you would have needed to edit it to call the ./Blog/wp-blog-header.php file instead of ./wp-blog-header.php.

    Thread Starter knapp71

    (@knapp71)

    So all that needs to be in the public.html directory is index.php file?

    Right now, the index.php file is:

    <?php
    /**
    * Front to the WordPress application. This file doesn’t do anything, but loads
    * wp-blog-header.php which does and tells WordPress to load the theme.
    *
    * @package WordPress
    */

    /**
    * Tells WordPress to load the WordPress theme and output it.
    *
    * @var bool
    */
    define(‘WP_USE_THEMES’, true);

    /** Loads the WordPress Environment and Template */
    require(‘./wp-blog-header.php’);
    ?>

    I just have to add /Blog to the last line so that it reads (‘./Blog/wp-blog-header.php’)?

    And that’s it, voila?

    Because it seems easy enough just to delete all the other stuff out of the public, and you’re saying that would resolve the probably totally.

    If anyone can confirm this is right, I will just delete the other stuff.

    Moderator Samuel Wood (Otto)

    (@otto42)

    ww.wp.xz.cn Admin

    You don’t need to delete the other stuff, just make that change, see if it works. If it does, then you can delete the other stuff.

    As always, backup, backup, backup. Just in case.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘WordPress URL issues’ is closed to new replies.