Support » Plugin: Media Post Permalink » Permalinks of images with duplicit names

  • Resolved jiripolacek

    (@jiripolacek)



    Hi,
    great plugin, by the way.
    It would by great if you improve behavior of permalinks of images with duplicit names for users who use your prefix feature.

    I have your prefix feature set to “image-“.
    I create post “My Post” – it has slug “my-post” and url http://www.domain.com/my-post/
    I upload image “my-post.jpg” – it has slug “image-my-post-2” and url http://www.domain.com/image-my-post-2/
    I upload duplicit image “my-post.jpg” – it is renamed to “my-post-1.jpg” and it has slug “image-my-post-2-2” and url http://www.domain.com/image-my-post-2-2/
    I upload another duplicit image “my-post.jpg” – it is renamed to “my-post-2.jpg” and it and it has slug “image-my-post-2-3” and url http://www.domain.com/image-my-post-2-3/

    The best scenario is:
    Image “my-post.jpg” – slug “image-my-post”
    Image “my-post-1.jpg” – slug “image-my-post-1”
    Image “my-post-2.jpg” – slug “image-my-post-2”

    The good scenario is:
    Image “my-post.jpg” – slug “image-my-post”
    Image “my-post-1.jpg” – slug “image-my-post-2”
    Image “my-post-2.jpg” – slug “image-my-post-3”

    Please consider this small feature 🙂

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