Support » Plugin: Yoast SEO » Sitemap Problems: Sitemap can be read, but has errors -> Invalid URL

  • Resolved spcinno

    (@spcinno)


    Hello, I am trying to submit my XML sitemap in Search Console but am running into errors. Please note my site is built on wordpress and I am using Yoast SEO.

    All of the pages in my sitemap are returning the error in the attached image. I have checked all the pages in sitemap and they are all live URLs and are indexed with google as well. (site:url.com).

    Never had any issues with Yoast SEO before so not sure what the problem would be here or how to fix it.

    Any suggestions are much appreciated.

    https://imgur.com/a/HCccO6e

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support amboutwe

    (@amboutwe)

    This typically means that the sitemap is not loading correctly. Please open the sitemap index in a browser. Does it load any errors? Can you provide us with your website URL?

    Thread Starter spcinno

    (@spcinno)

    Here is sitemap URL, appears to be loading correctly: https://luckeplumbing.com/sitemap_index.xml

    Plugin Support amboutwe

    (@amboutwe)

    All of the URLs in the sitemap are relative URLs (no protocol or domain). Google requires the URLs to be absolute (includes the protocol and domain) and, by default, Yoast SEO outputs them in an absolute format. This means that something in your setup changes them to relative. As the canonical URLs for the few pages we checked are correct, we suspect your site has a plugin or feature that converts them to relative URLs.

    Just to be sure, we would like to rule out any plugin or theme conflicts that may occur. The fastest way to do this is to deactivate all non-Yoast plugins and switch to a standard theme like Twenty Nineteen

    Test this on your development or staging site, if you have one. If not, we recommend using the Health Check & Troubleshooting plugin. This plugin allows you to run a conflict check without affecting normal visitors to your site.

    As we can imagine that you’re unfamiliar with checking for conflicts, we’d like to point you to a step-by-step guide that will walk you through the process: How to check for plugin conflicts.

    Plugin Support devnihil

    (@devnihil)

    We are going ahead and marking this issue as resolved due to inactivity. If you require any further assistance please create a new issue.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Sitemap Problems: Sitemap can be read, but has errors -> Invalid URL’ is closed to new replies.