Two sites, one database – How to delete the other without losing redirections?
-
Greetings,
here’s my situation:
I duplicated my site (using the Duplicator plugin) and migrated it to a new domain. However the old site still exists and shares the same database with the new site. This is a problem because the old site takes space and slows down the new site.
I added a redirection code in the old site’s .htaccess file to redirect visitors to the new site. What I want is to completely delete everything else from the old site except this redirection. I want to turn it into a one big redirection.
The redirections work so that a visitor is redirected from the old site’s post X to the new site’s post X. I want to keep this and not for example redirect the visitor from old site’s post X to the new site’s front page only.
Is there a way to achieve this? Can it be done via FTP? Which files to delete and how? I’m no too big of a wizard with these backend settings so all help is appreciated. The old site can be found here and the new one here.
edit: The two domains have their own directories in the database’s root directory.
- The topic ‘Two sites, one database – How to delete the other without losing redirections?’ is closed to new replies.