Change URLs on the database

I created a staging site for my Multisite installation, but now I need to change the domain on the stating site. I already updated the wp-config.php for the new domain.

But still can't access to WordPress admin dashboard, I can access to /wp-login.php but after insert the login credentials I am redirected to the homepage.

  • Luís
    • Support

    Hi richard ,

    Hope you're doing well since our live chat.

    As you already changed the domain in wp-config.php, now you need to update some fields in the database with the new domain:

    1) In _options table you will need to update siteurl and home;

    2) Update the domain in _site table;

    3) Finally go to _sitemeta table and update the siteurl field;

    I hope this information has been helpful. If I can help you in this or other related question, please let me know!

    Cheers, Luís

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.