Hi,
thanks for your post, and sorry for the trouble.
Correct, TablePress stores the table content as JSON-encoded strings in the post_content field of its entries in the wp_posts database table, plus some meta data in the wp_postmeta table.
What exactly are you searching/replacing? It might be necessary to escape special characters like " with a \, i.e. \".
Regards,
Tobias
Hey Tobias,
I recently updated a url-cloak plugin and have ten thousands of /wp/go/ urls from the old version. The new version does not support the tag /wp/ due to the name restriction. Therefore, I now have lots of 301 redirects from /wp/go/ to /go/. I successfully search-replaced all occurrences but the ones from tablepress. And since I have a loooot of tablepress tables, this is a real bummer for me.
Best wishes,
William.
-
This reply was modified 7 years, 7 months ago by
duschsocke.
Hi,
can you repeat the search/replace with searching for \/wp\/go\/ and replacing with \/go\/, please? Slashes / also need to be escaped with an extra \.
Regards,
Tobias
Hi Tobias,
unfortunately the backslashes did not yield any new hits.
Hi,
sorry, then I’m out of ideas here. You will have to find out why your wp CLI is not finding the data then. Maybe it’s not taking into account Custom Post Types?
Can you maybe try a direct SQL query, e.g. in a tool like phpMyAdmin?
Regards,
Tobias