Ads Top

How to migrate WordPress site from subdomain to main domain?


How to live site from the subdomain to the main domain with WordPress?

You want  to move your redesign site from the subdomain to the main domain then you will go at your FTP and open your subdomain folder then move it on the main root folder (public HTML folder) as given a screenshot.



And then go to your database as you are using for the subdomain and open  "PHPMyAdmin" database and click on the "wp_options" and you will find "option_name" and "option_value".  You will see your "siteurl = https//www.staing.subdoaminname.com " and "home = https//www.staing.subdoaminname.com"


It needs to change as your main domain name as https//www.maindoaminname.com. Now save it and you will go to your main domain and refresh your browser, will you found that your site will be moved now. :)

No comments:

Copyright Reserved to Anything Learn. Powered by Blogger.