Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter RuSite

    (@rusite)

    Just resolved it. There is no way to easily migrate with this plugin.
    I had to write a script to remove domain names from the imagepath manually.

    You have to do following actions:
    1. Unserialize data from DB in meta_value field of wp_postmeta;
    2. Base64 decode of each value;
    3. Unserialize each value again;
    4. Remove domain name using regexp;
    5. Serialize it back;
    6. Base64 encode it back;
    7. Serialize to final string to insert into DB;

    Yeah, that’s pretty much easy, thanks for wasting my time!

    Thread Starter RuSite

    (@rusite)

    Closing the topic.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Image paths when migrating’ is closed to new replies.