Support » Fixing WordPress » How to create test WordPress site in subfolder then take it live?

  • A design and structure question:

    1/ I am wanting to design a test site for a web magazine under developmemt at I do NOT want the design to go live at that address, but I wish to experiment with the content and look by mocking up the site in a subfolder with no links outward so it is not spidered by Google or anything

    2/ So, I essentially mock up the site but in a subfolder called ‘beta_site.’ I create a pretty elaborate site there with 25-some pages.

    3/ So the time is ripe, the beta site looks good and I want to drop it all into the root level of the site so it goes live at

    4/ Being a code-newbie, is there a quick and easy way to change all the links in that sub-folder to the root level of the site so it all works properly when removed from that folder?

    5/ Or, I could design the site in a sub-folder at my own, separate web domain and then when it is ready point my magazine’s web address — – to that subfolder? Will the site load slower if I do it that way?

    Or is there a better way to develop a test of an elaborate WordPress site before taking it live and maintaining all the internal links?

    Thanks for any insights
    Douglas Eye

Viewing 4 replies - 1 through 4 (of 4 total)
  • 1-4 – I’d put WordPress in the sub-folder called blog and do your ‘work’. Then when ready to go live, and make WordPress available at just change in Settings->General, the Blog address (URL) to and put this index.php file in your web-root folder (it is the same folder that contains the blog folder)

    /* Short and sweet */
    define('WP_USE_THEMES', true);

    Then update your permalinks in Settings->Permalinks.

    If you choose #5 instead, see Moving WordPress.

    I’ve tried both approaches:

    (1) develop a Web Site using WordPress in its permanent subfolder, then make it live by changing the Blog address, etc. You will also have to remove any existing index.html file in the Root Directory

    (2) develop on a test account/web site, then copy it over to the “real” domain name.

    The nice thing about (2) is that you end up with a Test Site, which you can periodically update from the real site. Test Sites are, in my mind, essential to avoid major outages of your real site whenever technical changes are required, most notably version upgrades of WordPress or any plug-in.

    Whichever method you use, use href=”index.php?page_id=40″ for all your internal links within your WordPress site. Or the equivalent for Posts, Pictures, etc. That will make your site “portable”.


    First develop a wordpress and test at subfolder of your domain and then move it to root folder to remains its live..on how to move wordpress refer this article:


    Shane G.

    I’m having trouble with this.

    I made a wordpress installation at – so it was installed in a subfolder called “wordpress” .

    Now I want to make it live, replacing the current root site. I tried (after backing everything up) deleting everything but the favicon.ico file from the root, and moving all the files from the wordpress folder into the root.

    But that didn’t work. Then I read about changing the “WordPress Address (URL)”. But in my WordPress’s General Settings that box is grayed out. I can only change the “Blog Address (URL)”.

    What am I supposed to do?


Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to create test WordPress site in subfolder then take it live?’ is closed to new replies.