Support » Plugin: All-in-One WP Migration » Envira Galleries meta key not involved in renaming?

  • Resolved Harm10

    (@harm10)


    I did an export of myurl/sitetest and imported that on myurl/sitedupl.
    In post type envira there are meta keys called _eg_gallery_data (belonging to Envira Galleries) containing a serialized array with “src” and “link” having the relative wp-content location for the images in the gallery. These strings are not renamed to the new location. Is this possible?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Yani Iliev

    (@yaniiliev)

    If you encounter that something in the database in not replaced, you could export only the database on the new site by using advanced options.
    Then fill in the find/replace with the relative url that you need changed.
    Export and then reimport the file onto the site. It should be replaced.

    Harm10

    (@harm10)

    OK. Can you explain (or point to some link where this is described) what replacements are done (or aren’t done) under the hood when exporting (or importing)? Because these strings are part of the wordpress site structure of the backed up system and in the database so I expected them to be replaced.

    Also would this specifying of a replacement string work correctly in this kind of an array? After all the length of the result can differ after renaming.

    Plugin Author Yani Iliev

    (@yaniiliev)

    The plugin will replace the site/home urls and upload path.
    There are some additional replacements done on per plugin basis that require base64 decoding and serialization but it is the site and home urls that are replaced together with the upload path.

    Harm10

    (@harm10)

    In this case we are talking about the content_url that is in the associated array.

    Having said this I now backed up another site and used that as an import. Both parts in associated array are unchanged but that seems to be irrelevant for the galleries itself. They normally work and when inspecting html their location is pointing to the right (so new wp-content) location. Weird but true………
    I guess only Envira Gallery support can explain this but this is not the right forum for that………!

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.