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.

reorganizing images after WP XML import

  • #9024
    Avatar photo[anonymous]

    ref: github:

    i want to move all images from all the subfolders of /input/media/posts/ to a common folder (equivalent to /uploads/ in WP)

    i can find/replace the paths in the database, but i’m not sure how best to go about this – for example there’s a posts table and a post_images table

    …or can this be done without editing the db?

    what’s the best way to accomplish this?

    Avatar photo[anonymous]


    Avatar photo[anonymous]


    Sorry it is not possible in the current Publii state. At this moment every post requires separate folder for images. In the future we have a plan to create a possibility of use common images for more than one post, but at this moment it is a known limitation of Publii.