Moving site / Changing domain name issue
-
Hi,
I’m trying to move a website from a test domain name to a live domain name. I’ve performed the standard MySQL queries to update the URLs in the database and done some testing on the new domain but the URLs of content files added in tabs are still the old domain name.I’ve attempted to use a SQL command to edit the URLs in the wp_postmeta meta_value fields but as soon as I apply this the Tabs disappear from my site.
I’ve got over a hundred instances of files uploaded to product tabs which I need to modify but don’t want to do it by hand.
Can you help with this issue? This is the query I’m running:
UPDATE wp_postmeta SET meta_value = replace(meta_value, ‘https://www.oldsite.co.uk’, ‘https://www.newsite.co.uk’);
Many thanks,
Nick.
- The topic ‘Moving site / Changing domain name issue’ is closed to new replies.