• Hi,

    For one of my clients, I use the excellent custom write panels code provided by wefunction.

    It works fine except when I move the database from the current domain to a new one:

    When I change the postmeta values in the database in order to have the customfields matching the new domain name, the database is updated fine but the custom write panels return nothing as if they were blank. So value from these custom write panels are not displayed on the website…

    I use this mySQL query to update postmeta table:
    UPDATE wp_postmeta SET meta_value = REPLACE (meta_value, ‘https://www.oldsiteurl.com’,’https://www.newsiteurl.com’);

    The strange fact is if I update the custom write panels through the post edit panel, it works. But I’d like not to update manually every post and page of the website!

    Any help would be greatly appreciated!

  • The topic ‘Custom write panels and moving database’ is closed to new replies.