how do i find out why links point to my old domain
-
16-10-2019 - |
Question
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?
Solution
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:
How to: 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.