How to create test WordPress site in subfolder then take it live? (5 posts)

  1. douglaseye
    Posted 6 years ago #

    A design and structure question:

    1/ I am wanting to design a test site for a web magazine under developmemt at http://www.AppalachiaToday.com. 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 AppalachiaToday.com

    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 -- appalachiatoday.com - 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

  2. MichaelH
    Posted 6 years ago #

    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 http://mydomain.com just change in Settings->General, the Blog address (URL) to http://mydomain.com 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.

  3. jonradio
    Posted 6 years ago #

    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".

  4. Shane G
    Posted 6 years ago #


    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.

  5. andyssummerplayhouse
    Posted 5 years ago #

    I'm having trouble with this.

    I made a wordpress installation at http://www.andyssummerplayhouse.org/wordpress - 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?


Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.