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// " and "home = https//"

It needs to change as your main domain name as https// 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:

Note: Only a member of this blog may post a comment.

Copyright Reserved to Anything Learn. Powered by Blogger.