Articles

How to Move WordPress from subdomain to main domain


You can see here http://localhost/lovelyblog/ So we have to change it as http://lovelyblog/ Let’s go…
Find the installed location. now you can see the folder Let’s go to the “lovlyblog” inside and copy the “index.php” and paste it outside the lovlyblog folder And then open it using notepad and change the */require( dirname(__file__) . ‘ /wp-blog-header.php’ to like this ‘/lovelyblog /wp-blog-header.php’ and save it now you can see its happened we move it to from sub domain to main domain

Leave a Reply

Your email address will not be published. Required fields are marked *