WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

i migrated a wordpress site from one domain to another. I still have images and links that seem to be pointing to my old domain name.

where can i get a list of all places in wordpress that hardcode or has the domain name in it.

the only place i saw was in the database in the wp_posts table in the guid column. where else should i be looking?

share|improve this question
up vote 2 down vote accepted

Don't worry about changing the guid, you'll be fine if you never update that field. The main places you'll need to update are in the post_content column of wp_posts (for links and images), and in the wp_options table (for widget data).

Before you do any database replacing, though, read through this thread:

Easily Move a WordPress Install from Development to Production?

There are some helpful tips there, and there are plugins that will do most of the work for you.

share|improve this answer
very helpful. my one open issue is that the top picture on my heading is still pointing to the old domain. do you know where i change that ? – leora Dec 8 '10 at 0:39
also, i can't log into my dashboard. when i go to: wp-admin/admin.php, i get the login screen but after logging in, it takes me to a blank screen. any thoughts? – leora Dec 8 '10 at 0:42
@ooo - both are those are most likely issues in the wp_options table. There are entries in there for 'home' and 'siteurl': make sure both of those are pointing to your current domain. Your header image location could be set any number of places. Most themes store that info in wp_options, but you're better off getting into your dashboard and changing it there. – goldenapples Dec 8 '10 at 1:12
updating every value in wp_options brought my header picture back which is great. my final problem is i still can't get to the dashboard. I get the login screen but after login, it takes me to a blank screen . . – leora Dec 8 '10 at 1:30
i figured it out. i was going to: blog.kantro.net/wp-admin/admin.php and i tried going to just: blog.kantro.net/wp-admin and it worked fine . .thanks for your help – leora Dec 8 '10 at 1:57

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.