• Resolved morespinach

    (@morespinach)


    Hello. I’m looking to save our media by permalink structure of posts, pages, or custom posts. Our permalink in WP example is %category%/%postname%, but we also we the Permalink Manager plugin for custom post types (an area in which default WP is hopeless).

    So, instead of saving files this way:
    (/wp-content/uploads) > 2019 > 08 > myfile.jpg

    I’d like to save them this way:

    (/wp-content/uploads) > food-drink > newyork-bagels-shop > myfile.jpg

    Is there any way we can do this using this plugin? It doesn’t seem to do much other than offer me the ability to SEE the already-uploaded images in Media gallery by category.

    Many thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author jeffrey-wp

    (@jeffrey-wp)

    Hi, by default that’s not an option in my plugin. It is possible to extend it and code something with the add_rewrite_rule sou can show the categories in the URL from your media items.

    Thread Starter morespinach

    (@morespinach)

    Thank you. I don’t so much care about the display on the website. I care about:

    1. Automatically displaying by category and then post name inside the media library. The media library is a huge dump of images (15,000 in our case) and the search is pointless as it doesn’t honour where an image was used, just the image name. Most of us don’t always name our images according to category and post names. Or the media library can be done by manually created tree structure of folders which is tedious too. It would be nice to automatically have the media library follow our category and post name structure.

    2. Importantly we want the storage path of these images to reflect the category names and the. Post names. In the actual file system. This way when searching through 15000 files we can more easily find stuff.

    I suppose this isn’t possible?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Help in saving new and old images by permalink stucture’ is closed to new replies.