Backend Redirecting Me to my Mirror Site's Backend (3 posts)

  1. woisme
    Posted 5 years ago #

    I recently created a mirror site by copying over the files and databases over to another directory. All worked fine. Now though when I try to get into my normal site it's fine when I access the front end but when I try to access the back end it redirect me to the mirror site's back end. No idea why this has started happening. Anybody got anything?




  2. caugb
    Posted 5 years ago #

    the database stores your posts and all the information about your site. Including the site URL. So, all your links are being constructed using the original URL...

    You can create a new installation, export contents from the old site and import it to the new.

    Using phpmyadmin export tool, you can edit the huge file in a text editor (wordpad) and replace all occurrences of the URL with the new URL - but some data are stored serialized. And it will break all stored arrays that contains the URL as part of one of their elements.

  3. woisme
    Posted 5 years ago #

    I have managed to change all the URL links on the mirror site from the original using a great tool I found on this forum. It even replaces where it's been serialized. All the links in the mirror site work and point where they should do on that mirror site. It's the current site that is being redirected when I try to go to the back end. That doesn't make any sense.

    Any additional help would be very much appreciated.

Topic Closed

This topic has been closed to new replies.

About this Topic