Title: AMP errors for attachment pages
Last modified: December 23, 2016

---

# AMP errors for attachment pages

 *  [willsmith7](https://wordpress.org/support/users/willsmith7/)
 * (@willsmith7)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/amp-errors-for-attachment-pages/)
 * Hello, i’m desperate!
 * I am getting many 404 errors with your plugin. Seems like it’s putting AMP pages
   link for image pages (attachments pages) too, and not for posts only.
 * An example of error is this page, if you remove amp from the end of the link 
   you find the original page:
    [https://goo.gl/os0YLB](https://goo.gl/os0YLB)
 * Code generating the error: <link rel=”amphtml” href=”[http://www.tech4d.it/2016/11/recensione-inateck-mercurybox-uno-speaker-bluetooth-raffinato/9-11/amp/&#8221](http://www.tech4d.it/2016/11/recensione-inateck-mercurybox-uno-speaker-bluetooth-raffinato/9-11/amp/&#8221);/
   >

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

 *  [drpowerbryan](https://wordpress.org/support/users/drpowerbryan/)
 * (@drpowerbryan)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/amp-errors-for-attachment-pages/#post-8639483)
 * I am experiencing the same issue as of my upgrade to WP v4.7 on December 12, 
   2016. For some reason amp link code is being generated on attachment pages (image
   pages.) For example, on attachment page [http://blog.drpower.com/chipper-graphic/](http://blog.drpower.com/chipper-graphic/)
   the code <link rel=”amphtml” href=”[http://blog.drpower.com/chipper-graphic/amp/”&gt](http://blog.drpower.com/chipper-graphic/amp/”&gt);
   is being generated by WP. This of course is kicking out large numbers of 404 
   errors in Google Search Console as each image in my media gallery is assigned
   an attachment page. As a workaround I may try a 404 redirect plugin until a patch
   or official workaround comes around.
 *  [corboffour](https://wordpress.org/support/users/corboffour/)
 * (@corboffour)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/amp-errors-for-attachment-pages/#post-8643685)
 * I too am experiencing this same problem.
 * Out of curiosity do you happen to be using YOAST and GLUE for YOAST?

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

The topic ‘AMP errors for attachment pages’ is closed to new replies.

 * ![](https://ps.w.org/amp/assets/icon.svg?rev=2527602)
 * [AMP](https://wordpress.org/plugins/amp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/amp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/amp/)
 * [Active Topics](https://wordpress.org/support/plugin/amp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/amp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/amp/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [corboffour](https://wordpress.org/support/users/corboffour/)
 * Last activity: [9 years, 4 months ago](https://wordpress.org/support/topic/amp-errors-for-attachment-pages/#post-8643685)
 * Status: not resolved