• Resolved sim89

    (@sim89)


    Hi
    I’m transferred a site from WP.com to .org and am using a hosting provider but keeping the same domain name. I have installed .org via my hosting provider but every time I try to login via wp-admin it redirects me to the old .com login. How can I resolve this?
    Thanks
    Sim

Viewing 3 replies - 1 through 3 (of 3 total)
  • add these 2 lines to wp-config.php

    update_option('siteurl', 'https://newdomain.com' );
    update_option('home', 'https://newdomain.com' );

    to be sure
    and I guess you have to transfer your domain to your new hosting provider or just change the nameservers of your domain
    more info at https://codex.www.ads-software.com/Moving_WordPress

    Thread Starter sim89

    (@sim89)

    Hi LChief – thanks for your response but unfortunately that didn’t work. I thought I had transferred the domain to my new host – and it is showing in my control panel there but still redirecting to .com

    Thread Starter sim89

    (@sim89)

    It turned out to be the nameservers at my host – thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Self-hosted wp-admin keeps redirecting to old WordPress.com site’ is closed to new replies.