Moving a site from a subdomain to root

[ad_1]

I have a WordPress site which I built on a subdomain, so it’s location is in public\_html in a folder [subdomain.domain.com]). I want to move it to the main domain in the public\_html.
I saw different approaches but the first time I’m doing this.

Can anyone tell me what’s the best approach to move it?

[ad_2]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer