Changed main domain, now screwed up

Avatar
  • Answered
I recently started a blog, and then bought another domain. I switched my main domain to the new one, and now my wordpress is screwed up.
Avatar
IMH Support Agent 5
Hello, Thank you for contacting us about changing your domain in WordPress. Yes, WordPress is dependent on the domain as the root of all the files. Changing that can cause problems but can be easily fixed in most situations by re-defining the Site URL. I advise taking that as the first step to getting the site back up. If you use custom permalinks, I advise setting those to default and then resetting them back to the configuration you prefer. In some cases, there may still be links hard-coded into the database with the former domain. You can update those manually with phpMyAdmin, or you can find a WordPress plugin to do the same. Best, Christopher M.