Download
We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

WP Importer: links to files (e.g. PDFs) still absolute when imported

  • #7771
    Avatar photo[anonymous]

    I am experimenting WP Importer, which seems to work fine.

    However, links to files (e.g. PDFs) inside imported posts or pages remain absolute and still point to the WP (.com) site, i.e.:

    https://mysite.files.wordpress.com/2021/11/myfile.pdf

    Is there any way to (automatically) make them relative to the Publii website?

    Thank you,

    FG

    #7897
    Avatar photo[anonymous]

    Hi,

    Unfortunately there is no easy way to fix such issues with WXR 🙁

    #7900
    Avatar photo[anonymous]

    30/07/2022
    Thank you for responding.
    So a manual or a batch-editing of all the files seems to be the only way to do that.
    Regards,
    FG