- This topic has 2 replies, 2 voices, and was last updated 13 years, 8 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Troubleshooting › Replace All Thumbnail URL in SQL Database using a script
I use a script (I didn’t write it) when I move a site from development to the live working server to change all the urls on my wp tables.
I would like to do the same when the site involves eStore.
The issue is mostly with Thumbnail urls…
I am not sure how to write it…would this be correct?
UPDATE wp_wp_eStore_tbl SET thumbnail_url = replace(thumbnail_url, ‘http://wordpress.devsite.com’, ‘http://www.domainname.com’);
Yes, it looks correct to me assuming the prefix of your WordPress database is “wp_”
great…actually it is not for this site but that is an easy change. Didn’t want to post actual prefix