• arjendev

    (@arjendev)


    Hi all,

    I am working on a new website so in the meanwhile I have duplicated my site on a total new server and domain. So when people go to my site, they will be redirected and see the old site on a other server and domain.

    Now I want to start building the new site.. but when I enter the url/wp-login.php this will be redirected aswell and I cannot login. Is there a way to still login or redirect people to the other website so I can build on my new?

    Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello,
    i think you are using old site database if yes then you need to change the url of current site form wp_options{prefix_options} table.
    in this table change url of site_url and home_url. please check this screenshot

    https://www.screencast.com/t/1ElUuPMHM2

    Thread Starter arjendev

    (@arjendev)

    No I use a new database.

    Basicly my domain now redirects to a new domain (with a new sever, databse etc), but I want to login to the dashboard of the old domain so I can build the new site

    Keith Driscoll

    (@keithdriscoll)

    You should have 2 separate WordPress installs if you want to build a new site while keeping the old site live.

    I would undo the redirect, leave the old site alone and install a fresh install of WP on the new domain. Build the site and when you are happy, use the Duplicator plugin to move the newly created site to its final destination.

    You could build a site locally, but I usually don’t recommend that for non developers, as setting that up correctly can become complicated.

    Hope that helps!

    Thread Starter arjendev

    (@arjendev)

    I solved this issue by using an under construction plugin on the “old” website, and add a automatic redirect html code to the other domain.

    Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Login to old site when redirected’ is closed to new replies.