• I have a website at http://www.mysite.com. I decided to try and build a WordPress site, and created and installed WP at http://www.mysite.com/WIP (WorkInProgress). I now know this was a mistake, just need to fix it.

    I want my WP site to ‘be found’ at the root domain.
    Should I move my directory?
    Should I just point to the different directory?
    Whats the best way to achieve what I’m after?

    Thanks team.

Viewing 1 replies (of 1 total)
  • You can create index.php on your root folder with the following contents with in…

    <?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( dirname( __FILE__ ) . '/WIP/wp-blog-header.php' );

    This should do the trick!

Viewing 1 replies (of 1 total)
  • The topic ‘Moving/pointing WP to a different directory’ is closed to new replies.