Custom attachment permalink structure [closed]

I have 10 images attached to each of a custom post type. My permalink structure for the custom post type is: example.com/post-type/post-title

I am using the WordPress Attachments plugin.

My attachment permalinks look like this example.com/?attachment_id=55

What I would like to do for the attachment permalinks is: example.com/post-type/post-title/1

How could I go about doing this?

0

Leave a Comment