I run a wrong SQL query and now I have to fix some things from the beginning. In my wp_postmeta table there are two fields, meta_value and meta_key.
How can I replace the existing value of meta_key to _tdomf_custom_permalink on every row that the string http://www.domain.com/?h is found in meta_value using phpmyadmin SQL.
Secondly, how can I replace the http://www.domain.com/?h (in meta_value field) with another domain ?
Thank you.