• Hi I want to install and test a layout on a subdomain, but i am not sure how to migrate it to the main site once its done. I’ve been reading online on how to do it, but I keep getting confused, its there an easier way perhaps just swap the subdomain url to the main one? I need to do this for someone I do not want to mess anything up, there are so many ways of moving wordpress, which is the best and easiest way?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,

    WordPress relies on the URL to serve up all it’s content.

    Check out https://www.YOURSITE.com/wp-admin/options-general.php

    Those two URLs are the key to changing a site’s URL. On your host end, yes, you could just swap the URL to the main one so you don’t have to move any files. The only problem here is that any links you create will be sudomain.YOURSITE.com and some plugins will reference images from subdomain.YOURSITE.com, even after the updates.

    So, you either go through the site manually to check for all instance of subdomain.YOURSITE.com, or you have to start getting into database searches, which are much more complicated, but way less time consuming.

    Thread Starter puifon

    (@puifon)

    Ok I dont think I wll go down that route. All I want to do is edit and customise a layout on a subdomain and have it run on the main site when its all finished, I am new to all this so not sure whats the best way to do this.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to migrate test wordpress subdomain to main site’ is closed to new replies.