Reputation: 400
I was working on a wordpress site, the client didn't own a domain so I set up a subdomain like so wordpress.example.com
(note I used my own domain, not example), once the client had purchased a domain I moved the files to the right place and updated the permalink structure. The wordpress general settings look like so:
Wordpress Address: http://clientdomain.com/
Site Address: http://clientdomain.com/
The permalink strucutre is also correct:
Common Settings:
//Unselected permalink settings
Post Name (•) : http://clientdomain.com/sample-post/
And when I select any random blog post it says:
Permalink: http://clientdomain.com/blog-post-name/
However on the live version of the site clicking on any given blog post still tries to redirect me to wordpress.example.com/blog-post-name
Is it just a case of waiting for the changes to ripple through the system or have I missed something? Any help would be greatly appreciated.
Cheers!
Upvotes: 0
Views: 2310
Reputation: 116
WP stores post URL's in DB. You need to check post table and other tables too. Replace them with your live domain.
Upvotes: 1