Quantcast
Channel: WordPress.org Forums » All Posts
Viewing all articles
Browse latest Browse all 134430

JulieLap on "Replacing an existing WP site with a new one"

$
0
0

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!


Viewing all articles
Browse latest Browse all 134430

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>