lucianp
Member
Posted 9 months ago #
I have an active static site that I want to move to Word Press keeping the same domain name and want to know the best process to do this. I am thinking perhaps building in a sub-domain of the site and then moving it to the domain when ready.
Would this be the correct approach?
What would I need to change when I move to it to production?
I want to use the remote server it will eventually reside on.
I do not want to use localhost for this project.
I am sure others have done this or done something similar and would like to know their views.
thank you
s_ha_dum
Member
Posted 9 months ago #
I want to use the remote server it will eventually reside on.
I do not want to use localhost for this project.
You just shot down my suggestion. I never build on an active host.
Unless you are going to keep the subdomain, don't bother creating it. Install WordPress to a subfolder of your active site then when you are ready to move it you should be able to treat it like a subdirectory install.
lucianp
Member
Posted 9 months ago #
thanks for the reply.
I think I will use your original suggestion (that I shot down :-) ) and build a virtual machine and put xampp on it.
My original question remains 'What would I need to change when I move to it to production?'
How is your environment set up?
thanks
s_ha_dum
Member
Posted 9 months ago #
If you use the localhost option, you would need to move the files and the database. And you will need to reset the "http://localhost" URLs in the database, for which I use Velvet Blues Update URLs. The Moving WordPress section of the Codex has the long form instructions for moving a site, which is basically what you are doing. It is really not that hard.
Had you gone with the 'subdirectory' option the link I provided answered your question about what needs to move.
My setup? I have a "roll your own" Linux/Apache/PHP/MySQL/ server on Slackware Linux, still my first love, and another on Debian, which I installed with Debian's apt-get packaging system. I have never used any of the WAMP/MAMP/XAMPP packages.
lucianp
Member
Posted 9 months ago #
thanks S, for your input, help and links. Perhaps after I get this site rolling, I can roll my own too :-)
I appreciate your help and mark this resolved.
thanks