• Resolved needforname

    (@needforname)


    Any help would be greatly appreciated. I have a regular html website that I would like to replace with a wordpress site. The site name will be the same, I just would rather have the site run through wordpress.

    An easy way to do this would be to delete all my original site files, install wordpress in the same directory and be on my way. The problem is that I can’t afford to have my original site down for a week while I’m building the new one.

    Is there an easy way around this? The only thing I can think of is to buy up a test domain name and create the wordpress site there, then move it over to the original site location when I am finished. This seems like a bad way to work because all of my links and everything will be broken when I change locations.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Sure, put wordpress in a sub-folder (e.g. blog) of your web-root and access it as yourdomain.com/blog.

    Then when ready to go live, to make WordPress available at https://yourdomain.com in Settings->General, change the Blog address (URL) to https://yourdomain.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 by visiting Administration > Settings > Permalinks and clicking on Save Changes.

    Thread Starter needforname

    (@needforname)

    Wow, thank you so much Michael. Seriously…you saved me a lot of stress and your explanation seems simple enough.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘I want to replace an html site with a wordpress site without taking my site down’ is closed to new replies.