Forum Moderators: rogerd & travelin cat

Message Too Old, No Replies

Going Live With Test Installation in a Simple Way

         

deeper

10:08 am on May 6, 2015 (gmt 0)

10+ Year Member Top Contributors Of The Month



Hi,
a wordpress test installation on a subdomain is ready. It should go live now and replace a static old site (without database) on the same server.

The actual situation on my hoster is this:
static-site .com --> folder "/public", containing the old, but still active static site (no Wordpress/database)
test/static-site .com --> folder "/name", containing the new Wordpress site

static-site .de should now display the new wordpress site.

At the moment my account is limited to one database, so the usual "real" migration by moving WP to another location on the same server, which also has a database, is not possible. WP describes this usual way of migration here:
[codex.wordpress.org...]
However there may be a good alternate way by just changing the domain settings in my hosting account, i.e., let static-site .de point to folder "/name"?

1. Changing domain settings as described
2. Changing site URL and WP URL in General Settings in Wordpress
3. Adjusting database URLs and paths by using any reliable plugin, like [wordpress.org...]

Hard to find information about this simple way, but it should work smoothly. Will I have to reset the permalinks or consider any further tips, which the WP codex recommends?

What do you think, any experiences?

deeper

12:36 pm on May 6, 2015 (gmt 0)

10+ Year Member Top Contributors Of The Month



Sorry for typos:
-the URL of the subdomain of course is test.static-site - "period" instead of slash (test/...).
-"let static-site .de point to folder..." --> .com instead of .de, same TLD as above

engine

8:05 am on May 7, 2015 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



According to a colleague, he doesn't have a better suggestion than what you are doing.

deeper

9:44 am on May 7, 2015 (gmt 0)

10+ Year Member Top Contributors Of The Month



Thanks for asking your colleague.

Regarding "2. Changing site URL and WP URL in General Settings in Wordpress" there is more than one way to do this:
Changing URLs in wp-config.php or in wp-options.php (directly working in database by PHPMyAdmin, not my preferred method) or in General Settings of Wordpress.
Is there a recommended way in my case? At the moment I'd choose doing it by General Settings.

Regarding "3. Adjusting URLs in database by any plugin..." it should be o.k. to get rid of the plugin after it has changed the paths and URLs? Or is there any need to keep it afterwards?