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?

closed as too localized by kaiser, fuxia Nov 4 '12 at 16:57

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    you want your example.com/?attachment_id=55 to become example.com/post-type/post-title/55 ? P.S. keep in mind you can not make 1 from attachment id 55. Also what that attachment plugin does? from your question i see that it does nothing at all. – Tommixoft May 28 '12 at 7:42
  • @Tom The question is more than a year old - could you please a) delete it or b) add the necessary info (plugin link, etc.) so it's answerable? Thanks. – kaiser Oct 4 '12 at 8:55