• Resolved Skrollen

    (@skrollen)


    Hi,

    I have a domain with a website already running (not WordPress), however I want to create a new website for this domain using WordPress. Can I install WordPress in say http://www.mydomain.com/temporary and build my new website there, without it effecting the current website at wwww.mydomain.com? Is this a good way to do it, and then when I’m ready move the WordPress folders from /temporary to the root domain?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Actually, I’ve used that approach many times, with one exception: you don’t actually need to move anything from /temporary:
    https://codex.wordpress.org/Giving_WordPress_Its_Own_Directory#Using_a_pre-existing_subdirectory_install

    Only other suggestion is to call the folder something other than /temporary/ as visitors will see that name in links to images, etc. And users, of course, when they login.

    Thread Starter Skrollen

    (@skrollen)

    Thank you! Seems easy enough.

    So to clarify, as long as I install in a sub-directory my current website in the root-directory shouldn’t be affected? And then when I feel done with my WordPress website I follow the steps in the Codex link you gave me?

    Yes, with one addition: when you want your new WordPress site to take over as home page for the domain name, you will likely have to rename your index.html or whatever file name you have for your current web site’s home page. That is because WordPress uses index.php, which most web servers do not check for before displaying an index.html or one of several other names.

    Thread Starter Skrollen

    (@skrollen)

    Thank you very much for your help jonradio!

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

The topic ‘Install WordPress to temporary folder while building the site?’ is closed to new replies.