Hi, I have a huge 500+ page manually coded old-fashioned site, which I'd like to move to a CMS system - Wordpress is going to be. But - I'd like to keep the old site active for a while. How could I build up the new version of the site in parallel without replacing the old one? Should I install Wordpress on a subdomain? Can I then (later) EASILY move it to the main domain? Or, is there another way to fully (100%) test the new site's Wordpress version?
subdomain is how I'd do it, then when you're ready to go live move the wordpress files to the main host, change the url in the database (probably easier to do that manually) and hey presto! you're up and running.
Instead of installing WordPress on a separate sub-domain, you can create a staging environment for your site (which is usually a sub-domain) with limited access. Now with this site, you can test your changes or use it for complete development. After you have completed with site testing, you can then upload it to your live site. This will keep your old site active as well as allow you to test changes.
I mean to say that a staging environment is hosted on a private subdomain of your WordPress site so that you can build and test your website. You can create a clone of a live website to save time developing a similarly structured WordPress site from-scratch with staging.
Yes, Install a dummy site on a subdomain or other domains . Test it well and change your domain in the database using PHPMyAdmin: You can look at this source for Mysql Commands: https://wpbeaches.com/updating-wordpress-mysql-database-after-moving-to-a-new-url/
I decided to create a subdomain and install Wordpress there. The entire site. I am moving a large static site there. The big question is: how to move it later to the main domain?
After you are done with the testing on sub domain. Just go to PHPMyAdmin in your web hosting control panel. Then Go to the specific database > Go to tab section "SQL" and execute the following commands replacing the oldurl and newurl with your domain actual link including http:// or https:// (if ssl is intalled on your domain) . Here oldurl is your subdomain and newurl is your domain name. Supple your sub domain is abc.example1.com and your main domain is example.com . Replace 'oldurl' with http://abc.example.com and 'newurl' with http://example.com UPDATE wp_options SET option_value = replace(option_value, 'oldurl', 'newurl') WHERE option_name = 'home' OR option_name = 'siteurl'; UPDATE wp_posts SET guid = replace(guid, 'oldurl','newurl'); UPDATE wp_posts SET post_content = replace(post_content, 'oldurl', 'newurl'); UPDATE wp_postmeta SET meta_value = replace(meta_value,'oldurl','newurl'); After you are done with the above SQL command execution from PHPmyadmin. Use this same database with your main domain which is example.com is this message. If you need help let me know.
Isn't there a way (I think there used to be) to build a blog fully in Wordpress, so that only you can see it and, then just hit "PUBLISH" and make public?
That sure helps, I'm looking it up right now. Now I wonder: is there a way to build up the site on the subdomain, then download it and re-upload on the main domain? ...could this affect the links/URLs on the site? I will only be linking the pages together, will not be linking to the subdomain, but if I move the entire site to the main domain, then could the links somehow still be affected?