Title: Plugin Update 404 &amp; 410 Errors
Last modified: June 9, 2018

---

# Plugin Update 404 & 410 Errors

 *  Resolved [alexaw52](https://wordpress.org/support/users/alexaw52/)
 * (@alexaw52)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/plugin-update-404-410-errors/)
 * I am one of those affected by the Yoast plugin issue and have over 1500 URL errors
   as of now.
 * I’ve followed the instructions to turn on Show Posts in search results. Since
   then my errors keep climbing. What do I do?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fplugin-update-404-410-errors%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [AminhoVic](https://wordpress.org/support/users/aminhovic/)
 * (@aminhovic)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/plugin-update-404-410-errors/#post-10382004)
 * Me too, I received yesterday an email from Search Console saying that Googlebot
   identified a significant increase in the number of URLs that return a 404 (not
   found) error. All the URLs are images.
 * I did what you suggested to do, I have installed the Search index purge plugin.
   Does the crawl errors mean that the plugin worked? by removing attachment URLs(
   images) from Google’s index.
 *  [Willy Blanchard](https://wordpress.org/support/users/wb1968/)
 * (@wb1968)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/plugin-update-404-410-errors/#post-10382299)
 * I also installed the plugin to fix the error. 1500 errors too. Google search 
   console stopped counting a week ago. This is very disturbing … I posted a question
   about this on the “support” plugin. I’m waiting for an answer … But no answer
   to anyone on the support for a week. My visitor statistics have been increasing
   for a year, but since March they have been falling
 *  Plugin Support [Michael Tiña](https://wordpress.org/support/users/mikes41720/)
 * (@mikes41720)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/plugin-update-404-410-errors/#post-10398179)
 * Could you please check your admin dashboard > SEO (sidebar) > Search Appearance
   > Media Tab. Do you get the notification that the settings are being utilized
   by the Yoast SEO Search Index Purge plugin? Also, if you check your /attachment-
   sitemap.xml, are you able to check that the image/attachment itself loads but
   has a 410 content header?
 * If so, then this means that the Search Index Purge plugin is working as expected.
   It is also expected that you get an increase in 410 content headers from Google
   Search Console. You are signaling to Google that you want these attachment URLs
   to be deleted (hence the 410) and de-indexed.
 * The purpose of the search index purge plugin is to purge attachment URLs out 
   of the search results as fast as possible. Just setting the Yoast SEO attachment
   URL redirect setting to “Yes” isn’t fast enough. When you do that, you no longer
   have XML sitemaps or anything else that would make Google crawl those pages, 
   and thus it could take months for Google to remove those URLs.
 * Installing this plugin will do the following two things:
 * – Every attachment URL will return a 410 status code.
    – A static XML sitemap,
   containing all the attachment URLs on a given site will be created. The post 
   modified date for each of those URLs is the activation date and time of the plugin.
 * The XML sitemap with recent post modified date will make sure that Google spiders
   all those URLs again. The 410 status code will make sure Google takes them out
   of its search results in the fastest way possible. After six months the attachment
   URLs should be gone from the search results. You should then remove the search
   index purge plugin, and keep the redirect setting of the attachment URLs set 
   to “Yes”.
 *  [Willy Blanchard](https://wordpress.org/support/users/wb1968/)
 * (@wb1968)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/plugin-update-404-410-errors/#post-10401813)
 * Hi,
    Thank you for your answer.
 * – Yes, I have the message “manage by Yoast SEO Search Index Purge plugin”.
    –
   if I click a sitemap link:
 * [https://willyblanchard.ch/panama-2015-plantation-de-cafe/panama-chiriqui-boquete-finca-don-alfredo-la-milagrosa-plantation-de-cafe-3/](https://willyblanchard.ch/panama-2015-plantation-de-cafe/panama-chiriqui-boquete-finca-don-alfredo-la-milagrosa-plantation-de-cafe-3/)
 * A blank/black page with only a text that says: the image “https …” can not be
   displayed because it contains errors (With Firefox 60.0.2)
 * – I do not know how to check if the header contains the code 410. Source code
   of this page is not available …
 * Is this the expected result?
 *  [jodiallbon](https://wordpress.org/support/users/jodiallbon/)
 * (@jodiallbon)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/plugin-update-404-410-errors/#post-10407506)
 * Hi
    I need some help understanding the Yoast issue and if what I have done is
   correct.
 * My site too has taken a dip in rankings since March. Which has affected my income.
 * I installed the purge plugin like Yoast suggested, but it still shows the sitemap
   for attachment URLs. Is this what it is supposed to do? Why would you still want
   Google to read the links on these sitemaps? And it was actually showing 2 sitemaps
   for the attachments NOT one. Why is this? I was worried that it was showing 2,
   so I deactivated the purge plugin and added code instead and then turned the 
   attachment sitemap off. Then resubmitted my sitemap to Google. This seemed to
   work, as when I check the number of URLs Google has indexed of my site, it has
   decreased. Have I done this correctly, or should I use the purge plugin instead?
 * This is the code I added to the functions page
 * add_action( ‘template_redirect’, ‘sukcesstrony_attachment_url_redirect’ );
 *  function sukcesstrony_attachment_url_redirect(){
    global $post;
 *  if ( is_attachment() && isset($post->post_parent) && is_numeric($post->post_parent)&&(
   $post->post_parent != 0) ){
    wp_redirect( get_permalink( $post->post_parent ),
   301 ); wp_reset_postdata(); exit(); }
 *  }
 * Any advice would be greatly appreciated.
    Thanks Jodi
 *  [Md Mazedul Islam Khan](https://wordpress.org/support/users/mazedulislamkhan/)
 * (@mazedulislamkhan)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/plugin-update-404-410-errors/#post-10411849)
 * [@wb1968](https://wordpress.org/support/users/wb1968/) We have checked your provided
   link [https://willyblanchard.ch/panama-2015-plantation-de-cafe/panama-chiriqui-boquete-finca-don-alfredo-la-milagrosa-plantation-de-cafe-3/](https://willyblanchard.ch/panama-2015-plantation-de-cafe/panama-chiriqui-boquete-finca-don-alfredo-la-milagrosa-plantation-de-cafe-3/)
   and we see 410 status code isn’t appearing on the response header but appearing
   200 instead which is not expected. Can you try and gather as much information
   for us as possible? Please perform the following:
    2. [Check for conflicts](https://kb.yoast.com/kb/how-to-check-for-plugin-conflicts).
   3. Check for [JavaScript errors with your console](https://kb.yoast.com/kb/how-to-find-javascript-errors-with-your-browsers-console).
   If you find any JavaScript errors related to Yoast SEO or if there is a conflict
   with a plugin or a theme, you can create a [new GitHub issue](https://github.com/Yoast/wordpress-seo/issues/new)
   for our developers. Please report the issue to a third party developer as well.
   If you didn’t find any conflicts or errors, we think the issue is specific to
   your site. We’d need to investigate further but are unable to do so on these 
   forums. You can [purchase Yoast SEO Premium](https://yoast.com/wordpress/plugins/seo/)
   and receive our Premium email support and we can help you further.
 * [@jodiallbon](https://wordpress.org/support/users/jodiallbon/) After installing
   the purge plugin, it is expected to see the attachment sitemap in the sitemap
   index and this is necessary to crawl by the Google crawlers so they know that
   your attachment pages are no longer exists and needs to be deleted from the search
   results. In addition, if the default 1000 URLs limit is reached to each of your
   attachment sitemaps, a new attachment sitemap will be generated. So, this is 
   expected to see multiple attachment sitemaps.
 * However, if you are seeing the same attachment sitemap multiple times on sitemap
   index, then it is a known bug and our development team is already working on 
   it to fix this. If you’d like you can find and follow the progress of the report
   in [here](https://github.com/Yoast/search-index-purge/issues/46).
 * On the other hand, it is recommended to use to the purge plugin as we are unable
   to provide support on any custom code.
 *  [jodiallbon](https://wordpress.org/support/users/jodiallbon/)
 * (@jodiallbon)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/plugin-update-404-410-errors/#post-10413112)
 * [@mazedulislamkhan](https://wordpress.org/support/users/mazedulislamkhan/)
    thank
   you for the reply. I have since reactivated the surge plugin. Hope fully this
   will fix this issue.
 *  [Willy Blanchard](https://wordpress.org/support/users/wb1968/)
 * (@wb1968)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/plugin-update-404-410-errors/#post-10430861)
 * Hi,
    I tested Health Chek. I have an error with a plugin. I also have errors 
   in the console (firefox)
 * [https://ibb.co/j61NUo](https://ibb.co/j61NUo)
    [https://ibb.co/hu05h8](https://ibb.co/hu05h8)
 * I contacted the plugin author, waiting for a reply.
    I do not know if these errors
   affect the loading of the attached file.
 * Thanks
    Willy
 *  [Md Mazedul Islam Khan](https://wordpress.org/support/users/mazedulislamkhan/)
 * (@mazedulislamkhan)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/plugin-update-404-410-errors/#post-10441257)
 * [@wb1968](https://wordpress.org/support/users/wb1968/) The issue you are experiencing
   isn’t specific to this thread. We recommend you to create a new thread and elaborate
   more on the issue you are experiencing so that we can assist you better.
 *  [sojijoseph](https://wordpress.org/support/users/sojijoseph/)
 * (@sojijoseph)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/plugin-update-404-410-errors/#post-10825135)
 * I have installed search index purge plugin 4 days back, Still not shown any 410
   error code message in search console. Is the plugin working properly? Or do i
   have to do any more action in wordpress?
 *  [doscerezas](https://wordpress.org/support/users/doscerezas/)
 * (@doscerezas)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/plugin-update-404-410-errors/#post-11176641)
 * Hi!
 * I have installed the Search index purge plugin in July 2018.
    Some of the errors
   404 have gone to 410 but many of them still do not. (22 of more than 140)
 * I do not know if I’m doing something wrong. Thank you.
    -  This reply was modified 7 years, 1 month ago by [doscerezas](https://wordpress.org/support/users/doscerezas/).
 *  [johnc2104](https://wordpress.org/support/users/johnc2104/)
 * (@johnc2104)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/plugin-update-404-410-errors/#post-11461395)
 * H
    -  This reply was modified 6 years, 11 months ago by [johnc2104](https://wordpress.org/support/users/johnc2104/).
 *  [frozenliz](https://wordpress.org/support/users/frozenliz/)
 * (@frozenliz)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/plugin-update-404-410-errors/#post-11635275)
 * We also installed the Surge plugin, but we are showing 404 errors in search console
   rather than 410 errors. What is causing this?

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

The topic ‘Plugin Update 404 & 410 Errors’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-seo/assets/icon-256x256.gif?rev=3419908)
 * [Yoast SEO - Advanced SEO with real-time guidance and built-in AI](https://wordpress.org/plugins/wordpress-seo/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-seo/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-seo/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-seo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-seo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-seo/reviews/)

## Tags

 * [Yoast](https://wordpress.org/support/topic-tag/yoast/)

 * 13 replies
 * 10 participants
 * Last reply from: [frozenliz](https://wordpress.org/support/users/frozenliz/)
 * Last activity: [6 years, 9 months ago](https://wordpress.org/support/topic/plugin-update-404-410-errors/#post-11635275)
 * Status: resolved