Sitemap XML Tag Line Error

#557791
  • Resolved Fakhrur Pedia
    Rank Math free

    Post-Sitemap can be read, but have some error on tags, and show error like this :

    This is not a valid URL. Please correct and resubmit.
    Example
    URL:
    Row 4
    parent tags:
    url
    Tag:
    place

Viewing 6 replies - 1 through 6 (of 6 total)
  • Md. Sakib Khandaker
    Rank Math agency

    Hello,

    Thanks for contacting us, and sorry for any inconvenience that might have been caused due to that.

    Your sitemap looks to be validating fine with https://www.xml-sitemaps.com/validate-xml-sitemap.html

    Can you please try following the steps below to see if that works for you?

    #1. Flush the Sitemap cache by following this video screencast:
    https://i.rankmath.com/pipRDp

    #2. Exclude the Sitemap files of the Rank Math plugin in your caching plugin. The cache could be via a plugin or from the server. For plugins or Cloudflare, please follow this article:
    https://rankmath.com/kb/exclude-sitemaps-from-caching/

    #3. If the above steps doesn’t seem to work, kindly apply the following filter code to your site.

    add_filter( 'rank_math/sitemap/enable_caching', '__return_false');
    

    Here’s how you can add filter/hook to your WordPress site:
    https://rankmath.com/kb/wordpress-hooks-actions-filters/

    After that remove and re-submit your sitemap on GSC to see if that works for you.

    Let us know how it goes. Looking forward to helping you.

    Thank you.

    Fakhrur Pedia
    Rank Math free

    I already followed all rank math instructions, but this still happen, any solution?

    Fakhrur Pedia
    Rank Math free

    you can see this, error source from this code <loc>

    Screenshot errors

    Md. Sakib Khandaker
    Rank Math agency

    Hello,

    It seems you marked this ticket as Resolved.

    Can you please confirm if you still need our assistance with this one?

    Looking forward to hearing back from you.

    Thank you.

    Fakhrur Pedia
    Rank Math free

    No, thanks

    Hello,

    We’re glad that this issue is already resolved.

    If you have any other concerns, please don’t hesitate to contact us anytime to assist you further.

    Looking forward to helping you.

    Thank you.

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

The ticket ‘Sitemap XML Tag Line Error’ is closed to new replies.