Support » Plugin: Yoast SEO » Plugin Update 404 & 410 Errors

  • Resolved alexaw52

    (@alexaw52)


    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 to see the link]

Viewing 13 replies - 1 through 13 (of 13 total)
  • 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.

    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 Tina

    (@mikes41720)

    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”.

    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/

    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?

    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

    Plugin Support Md Mazedul Islam Khan

    (@mazedulislamkhan)

    @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/ 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.
    3. Check for JavaScript errors with your 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 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 and receive our Premium email support and we can help you further.

    @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.

    On the other hand, it is recommended to use to the purge plugin as we are unable to provide support on any custom code.

    @mazedulislamkhan
    thank you for the reply. I have since reactivated the surge plugin. Hope fully this will fix this issue.

    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/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

    Plugin Support Md Mazedul Islam Khan

    (@mazedulislamkhan)

    @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.

    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?

    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 months, 1 week ago by  doscerezas.

    H

    • This reply was modified 4 months, 3 weeks ago by  johnc2104.
    frozenliz

    (@frozenliz)

    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)
  • You must be logged in to reply to this topic.