All settings lost when migrating database to another domain
-
If I set the Social Image Fallback URL to an image in the media library, the absolute URL for that image is saved to the database instead of just saving the media ID. The
autodescription-site-settings
is then saved as a serialized object in the database. If I set the social image on my local server and then migrate the database (by replacing my local domain with the remote server domain in the database dump) the whole settings array will fail to unserialize on the remote server if the two domain names are of different lengths.I kind of understand the need for setting a social image by writing a custom URL, but wouldn’t it be better to not use
social_image_fb_url
at all ifsocial_image_fb_id
is set?
- The topic ‘All settings lost when migrating database to another domain’ is closed to new replies.