URLs stored as json encoded data
-
Hi
I have recently installed MaxButtons on my site.I use BackupBuddy to take copies of my live site and migrate the copy to a test site for development.
When i migrated the live site after installing MaxButtons I noticed that the buttons continued to load pages from the live site, rather than the copies of the pages migrated to the test site.
I referred the issue to iThemes, the developer of BackupBuddy, their response if given below:
I’m one of the developers for BackupBuddy. I went ahead and downloaded the MaxButtons plugin to look at how it was storing data. I can confirm that they are storing their data in custom tables as json_encoded strings. BUB doesn’t currently migrate URLs in jSON encoded strings for a number of reason.
We do have it on our feature request list but for now you will have to replace these via the plugin. Thus far, we’ve only found two plugins (including this one) that store text data in a json_encoded format in the database. I’m not sure why they do it like this, but I’m sure they’ve run across this problem with people who use their plugin because even a manual search and replace wouldn’t catch this. You may want to contact them and tell them you’ve moved sites. Ask them if they have a tool that can port the URLs in their json_encoded data.
Do you have any plans to change how you store the URLs or will I need to amend them manually each time I migrate a site?
Peter
- The topic ‘URLs stored as json encoded data’ is closed to new replies.