• Hello there,

    I’m having a problem with restoring a WordPress-site I hostet maybe a year ago.

    I ran it on a personal linux server because we needed a website for a school project. After the project was done I shut down the website as well and stopped renting the corresponding domain.

    Now I’d like to restore the site to archive it “properly” but when doing so I realized that I was having problems recreating the site with the backup file I creathed back then with UpdraftPlus.

    The problem itself is the following:
    Once I uploaded the backup-file it changes all references (in datatabase etc) to the old domain so as soon as I try to acces the admin panel (newurl/wp-admin) it redirects me to the old domain which is currently held by another company (that offers it for sale).

    Is there a way (e.g. through modification of database or a local networt) that I can get acces to my old website without having to pay for the old domain, updraft premium (=> updraft migrator)?

    Thanks already in advance and any help / hints is highly apreciated

Viewing 4 replies - 1 through 4 (of 4 total)
  • @rkursawe have you updated the database with the migration script which will change the old URL to new URL?

    Thread Starter rkursawe

    (@rkursawe)

    No, I haven’t (didn’t know that such a script existed), thank you for your hint.

    Can you tell me at which point the new url has to be specified?
    If it is entered during the process (on the web-page) I’m worried, that the redirection will prevent me from doing so.

    Anyway I’ll try the script as soon as I find the time (and leave this thread open until then)

    Thread Starter rkursawe

    (@rkursawe)

    So I finally got to try the migration script and in general I can say that it did a great job.

    But now I’m having a new issue:
    When I first ran the script it gave me a “green light” that everything worked, and for most parts it did, but when I tried to login via url/wp-admin it redirected me to the old url again.

    After trying to rerun the script (with red flags this time) I entered the proposed code manually into mysql and then at least I got redirected to newurl/wp-admin by clicking the login button.

    The downside / problem now is, that the login-page isn’t loading.
    When loading it usually times out but once I also got an nginx failure (hosting on linux server with php8.0 and nginx).
    Since all of the other pages and interlinks are working I don’t know what could be the problem and any suggenstions are welcome

    Thread Starter rkursawe

    (@rkursawe)

    It seems like the above behaviour is the result of a (mis)configuration of nginx. or in the wp-admin part of the database.

    Looking at the url using the “login” button it wants to connect to “https://local-ip/wp-admin” but since I’m running it locally this results in a failure.
    If I then remove the “https://” part I get redirectet to “local-ip/wp-admin/local-ip/wp-login.php” so because of some reason when reaching out for wp-admin it only “adds” the called domain to the end.

    Calling “local-ip/wp-login.php” works just fine as well as logging in (same thing as described above occured when it wanted to show a promt to verify the admin-email) but after logging in it again goes for “local-ip/local-ip/wp-admin” instead of “local-ip/wp-admin” => page not found (wp-screen)

    Another problem is, that all of the front-end looks and operates just fine but the backend completely lost its layout and just consits of the text (e.g. the menu as shown in the screenshot)

    Can someone tell me what might have gone wrong?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Restore WordPress site from UpdraftPlus Backup with new URL’ is closed to new replies.