[solved] What's did I forget changing my WordPress domain URI?

I have a WP site on a subdomain at my sandbox site. I purchased a domain name and I would like to use this to access the site. My domain name is with Godaddy and my site is located at a third party remote host.

  1. Turned on forwarding and masking at Godaddy.

  2. Updated all the WP tables in my WP site with the new URI.

    1. I used PHPMyAdmin to export the sql tables.
    2. Opened the dump in my favorite text editor and replaced the domain name only.
    3. Dumped the existing tables in PHPMyAdmin
    4. Imported the new edited tables.

Now the site loads content on the home page using the new URI, but the styles are all botched. If I look at the source of the home page, I get this which shows the OLD URI.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
   "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
  <title>[NEW URI]</title>
</head>
<frameset rows="100%,*" border="0">
  <frame src="[OLD URI]" frameborder="0" />
  <frame frameborder="0" noresize />
</frameset>
<!-- pageok -->
<!-- 02 -->
<!-- -->
</html>

But if I do a search in the tables in PHPMyAdmin no table contains the old URI. I deleted the cache, but still no go.

What did I forget to change?

Could be a few things:

  • Make sure the old URI isn’t hardcoded
  • Make sure no plugins update the URL…and that you’ve cleared any caching plugins
  • Make sure you did replace the old URI’s properly. There should be two entries in the options table: normally they’re very similar except one has a trailing slash and one doesn’t. If you do a search and replace with a trailing slash you might miss the one without
  • Visit your permalinks page and click update. This clears the “internal cache”

Thanks for the checklist. That’s what I needed.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.