How to map or copy a wordpress site to a subfolder in an existing site’s route?

Solution:

Yes, you can set up a WP site in a subfolder of your main website. I don’t recommend doing it manually, too much can go wrong. Use a plugin such as Duplicator – it’s so simple to use:

  1. Install it on the site to copy and build a package – this packages your entire website into a single zip file
  2. Copy this ZIP file and installer.php to the the hosting new location on your hosting (e.g. yyy.com/blog)
  3. Create a new empty database
  4. Run the installer wizard and make sure the URL in the new settings is https://www.yyy.com/blog

That’s it!

You can have the entire site set up & running perfectly in just minutes! it will even set up .htaccess correctly.

No more setting up the database, changing urls in the database, 404 errors, broken links, broken images, etc. Moving a WordPress site manually can be tricky and you can waste hours trying to fix the issues. Even agencies use a plugin to avoid the problems.