• Resolved curious11

    (@curious11)


    Hi there!

    Hope you can help!

    The scenario:

    I had a blog installed on a hosting account at domain1.com/blog
    I decided I wanted to change the primary domain name associated with my hosting account. So, I changed that to domain2.com and removed domain1.com’s association with that hosting account.

    After I did this, I updated the siteurl in my database to the new url: domain2.com/blog

    I am able to access the index page when I visit domain2.com (I have the index in the root, but the blog, as mentioned, is in its own sub dir). However, nothing else on the site works. I cannot log into my wordpress installation or even get to the login page via: domain2.com/blog/wp-login

    However, I can get to the wordpress login page by going to what is the old domain url: domain1.com/blog/wp-login If I try to login at this page I get a bunch of errors that read like the following:

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/i/n/d/username/html/blog/wp-content/themes/themename/functions.php

    Any ideas on how to rectify this installation? Or must I delete it all and start again? I’m thinking there’s something else that I have to change in some file… to the new domain name.

    Thanks for your help!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Changed Domain: Now unable to access login’ is closed to new replies.