• Hi,
    I installed my wordpress under test.example.com and then I changed its directory to example.com. Unfortunatelly i forgot to change site_url and home_url, so example.com redirected to test.example.com. I fixed it by

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

    and everything is fine except fact that I can’t login anymore and images still points to text.example.com
    How can I fix my idiocy?
    Regards

  • The topic ‘login problem after changing directory’ is closed to new replies.