Title: Image Attachments Duplicate Permalink
Last modified: January 3, 2018

---

# Image Attachments Duplicate Permalink

 *  Resolved [lsilver](https://wordpress.org/support/users/lsilver/)
 * (@lsilver)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/image-attachments-duplicate-permalink/)
 * I created about 30 different custom posts that had an image attachment. It now
   seems as if each of the image attachments are sharing the same permalink as the
   associated record.
 * So they all are showing up as duplicates in Permalink Manager.
 * However, if I go to the image itself in Media Library the URL is within the wp-
   content/uploads folder. But it also looks like each of the images has it’s own
   post, which I think is the result of having an option in Yoast selected to redirect
   attachment URLs to parent post URL. So this might just be an issue of Permalink
   Manager reporting a duplicate because of a redirect.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Maciej Bis](https://wordpress.org/support/users/mbis/)
 * (@mbis)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/image-attachments-duplicate-permalink/#post-9831915)
 * Hi again Larry,
 * please download 2.0.5.4 version from here and reinstall it manually:
    [https://downloads.wordpress.org/plugin/permalink-manager.2.0.5.4.zip](https://downloads.wordpress.org/plugin/permalink-manager.2.0.5.4.zip)
 * Now, when “Remove all broken URIs” button is clicked on the page where URI duplicates
   are listed, the custom URIs for attachments will be removed if two conditions
   are met:
    - “Redirect attachment URLs to parent post URL.” option is enabled in Yoast’s
      SEO Premium plugin
    - a single attachment is assigned to any post/page
 * Regards,
    Maciej
 *  Thread Starter [lsilver](https://wordpress.org/support/users/lsilver/)
 * (@lsilver)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/image-attachments-duplicate-permalink/#post-9832096)
 * I did as instructed but it didn’t seem to remove any of the attachments. I believe
   they all meet the criteria you are suggesting.
 *  Plugin Author [Maciej Bis](https://wordpress.org/support/users/mbis/)
 * (@mbis)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/image-attachments-duplicate-permalink/#post-9832126)
 * Please do the following:
    1. select “Media” in “Disable Permalink Manager functionalities” from plugin settings
       page:
        wp-admin/tools.php?page=permalink-manager&section=settings
    2. go to “Tools -> Permalink Duplicates” page and click “Remove all broken URIs”
       button
 *  Thread Starter [lsilver](https://wordpress.org/support/users/lsilver/)
 * (@lsilver)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/image-attachments-duplicate-permalink/#post-9834797)
 * perfect, thanks

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Image Attachments Duplicate Permalink’ is closed to new replies.

 * ![](https://ps.w.org/permalink-manager/assets/icon.svg?rev=2625166)
 * [Permalink Manager Lite](https://wordpress.org/plugins/permalink-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/permalink-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/permalink-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/permalink-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/permalink-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/permalink-manager/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [lsilver](https://wordpress.org/support/users/lsilver/)
 * Last activity: [8 years, 5 months ago](https://wordpress.org/support/topic/image-attachments-duplicate-permalink/#post-9834797)
 * Status: resolved