February 24, 201511 yr I'm using a temporary URL to develop a site and as far as I can tell, I just need to install WP, then add the following code to wp-config once the domain is repointed. Is this correct? define('WP_HOME','[domain]'); define('WP_SITEURL','[domain]'); Thanks for any help!
February 24, 201511 yr I'm using a temporary URL to develop a site and as far as I can tell, I just need to install WP, then add the following code to wp-config once the domain is repointed. Is this correct? define('WP_HOME','[domain]'); define('WP_SITEURL','[domain]'); Thanks for any help! Yes, this should be fine
February 24, 201511 yr Depending upon how much development work you have to do, it is often a good idea to do the work on a development server and then when you are ready, for wordpress that is, ftp over the theme. You can also export the contents from the development site to the final destination. The only thing that needs changing then is urls in the xml export file if you use the standard wordpress xml export method. We use VMs for development, its also handy for testing although setting up Mac VMs is painful.
February 28, 201511 yr My usual steps on handling this: 1) Get the files and the db 2) Update wp-config with the development url 3) Run the db thru https://interconnectit.com/products/search-and-replace-for-wordpress-databases/ (just replace the liveurl with the devurl)
Create an account or sign in to comment