2

in my sitemap generated with SEO Yoast, there are some URL in 404 error.

In the image you can see a strange parameter at the end of the URL.

The sitemap is "attachment-sitemap1.xml", so there are images that doesn't exist.

How i can resolve this? Thank you

enter image description here

  • Those could be session ids. Do you have a WordPress plugin that can track sessions without cookies? – Stephen Ostermiller Apr 4 '18 at 11:35
  • thank you for the answer. I don't think, my plugins are: Admin Word Count Column, Anti-spam, Column Shortcodes, EWWW Image Optimizer, Genesis Translations, Login LockDown, Nofollow for external link, Q2W3 Fixed Widget, Quick Adsense, Redirection, Subscribe to Comments Reloaded, W3 Total Cache, WP MoneyClick, Yoast SEO – supap Apr 4 '18 at 13:21
1

The best approach for this (assuming you use Wordpress for all website management) is to disable all of the plugins at the start then for each full website test, enable one plugin at a time and attempt to generate the sitemap files in each test.

The moment you see that unexplained extensions are added to your URLs in the sitemap files is an indicator that the last plugin you enabled is the one that needs to be reconfigured or removed.

  • i think it's a Yoast problem. In the section "Media & attachment URLs" "Redirect attachment URLs to the attachment itself?" It was on No. Now i click on Yes, resend the sitemap and the problem seems to have disappeared. So the problem was the last update of Yoast: kb.yoast.com/kb/images-in-the-xml-sitemap What do you think about? :) – supap Apr 5 '18 at 11:18
  • I'm not sure why I scored -1 for my answer if the OP confirmed the problem was with a version of a wordpress plugin he/she was using? – Mike Apr 5 '18 at 21:42
  • i haven't scored -1, i select your as the best answer. – supap Apr 6 '18 at 6:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.