Domain name Change issues

  • Unknown's avatar

    Issue:
    We had a website staged on a domain ‘OLDDOMAIN.com’ which was then replaced with ‘NEWDOMAIN.com’. The website for some reason keeps redirecting to the old domain with a 302 error (according to the network tab in Mozilla).

    I have edited the php wp4_options using the following method:
    using php my admin, edited DOMAIN_wp## – > wp**_options
    ‘site url’ changed to ‘NEWDOMAIN’
    ‘home’ changed to ‘NEWDOMAIN’

    After, I added the line to the top of the wp-config.php:
    define(‘RELOCATE’,true);

    I also have the additional issue of a 404 error when trying to access the DOMAIN/wp/wp-login.php page the other /wp-admin page does not redirect properly.

  • It looks like you have a self-hosted WordPress.org site. This forum is strictly for WordPress.com hosted sites.

    WordPress.com and WordPress.org are a little separate, and that can be confusing.

    WordPress.com vs. WordPress.org

    You’ll want to use the forums at https://wordpress.org/support/ for any support on managing your site. Hope that helps to point you in the right direction!

  • Unknown's avatar

    Oh sorry, thank you!

  • The topic ‘Domain name Change issues’ is closed to new replies.