Replacing an existing WP site with a new one
-
Hello,
I’ve developed a new version of my blog in a subfolder.
The new blog is in /dev_blog and the old one in /blog.I want to transfer the new blog to the old address (/blog).
The DB has been exported via Migrate DB with the paths leading to /blog, I’ve created a new DB and assigned it to a WP-config.php. I also have an .htaccess with the correct paths.
Instead of erasing all the files of the old blog and replacing them with the new ones, I was wondering if it was possible to simply rename the subfolders:
/blog would become /blog-old
and /dev_blog would become /blog.
I would then only replace the wp-config and the htaccess.Is that a correct procedure or will it break the sites?
Thank you for your help!
- The topic ‘Replacing an existing WP site with a new one’ is closed to new replies.