Site migration and XML file

New home Forums Pro Add-on Site migration and XML file

Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #60517
    davesantorum
    Participant

    Hi,

    I’ve migrated my site from one location to another on the same server (from a sub-site to the main URI so from blog.website.com/live to website.com). I’ve also moved from database driven markers to XML.

    I noticed pretty soon after deleting the original site that no markers were being displayed. Using the developer console I was able to see that the icons I’d specified for categories were still being taken from the blog.website.com/live/wp-content/uploads/ directories. So I went to the Maps -> Categories section and edited the categories to use the new local location. All seemed fine. Updating the images associated with each marker was relatively easy as the map isn’t too busy yet.

    However! When I checked the XML file after saving I see there are many references to images using the old URLs: The <pic> field is now correct, but <gallery> and <icon> both refer to the wrong site.

    My questions are:

    1. Why is this, after updating each individual marker?
    2. I’m unfamiliar with how the URLs are formatted. An example is:
      <gallery data-json="true">[{"attachment_id":"92","url":"https:\/\/blog.website.com\/live\/wp-content\/uploads\/2020\/07\/IMG_20200620_072047573_HDR-scaled.jpg","thumbnail":"https:\/\/blog.website.com\/live\/wp-content\/uploads\/2020\/07\/IMG_20200620_072047573_HDR-scaled-300x225.jpg"}]</gallery>. Can I just replace \/\/blog.website.com\/live\/wp-content with \/\/website.com\/\/wp-content?
    3. Why do some entries have gallery entries, while others that also contain image URIs do not?

    Any help on this would be great, thanks!
    (Attaching the current XML file for you just in case).
    Dave

    Attachments:
    You must be logged in to view attached files.
    #60521
    davesantorum
    Participant
    This reply has been marked as private.
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.