How to install a 2nd WordPress site on subdir

I have to move a WP site to another domain where I already have WP running in the root.
Because this is a temporary solution, I don’t want to change the existing WP installation to multisite. I want to keep both sites and DBs separated as I’ll move the site back later.
So, in a nutshell, I want to move site.com/wpsubdir/ to site-running-wp.com/wpsubdir/

I’ve tried a dozen different things, mostly around excluding that subdir from the root’s rewrite rules but nothing works. The root’s WP site still takes over and shows a 404 for every page, including static html ones.

Any suggestion?
Thanks!


Source: wordpress

Leave a Reply