• Resolved rgxr

    (@rgxr)


    Google Search Console Showing the Following Sitemap Error:

    Invalid XML tag
    22 instances
    This tag was not recognised. Please fix it and resubmit.
    domain.com/sitemaps/post-sitemap1.xml

    Line 1936
    Parent tag: urlset
    Tag: image
    
    Line 1940
    Parent tag: urlset
    Tag: image
    
    Line 1944
    Parent tag: urlset
    Tag: image

    Remaining Sitemaps are working properly.

    Can’t mention website name
    Plz Help fixing this error
    Thanks.

Viewing 15 replies - 1 through 15 (of 18 total)
  • Plugin Author Benjamin Denis

    (@rainbowgeek)

    Hi,

    try to follow this guide:

    https://www.seopress.org/support/guides/xml-sitemap-blank-page/

    Please share the URL of your xml sitemaps.

    Thx

    /sitemaps/post_tag-sitemap1.xml this one also is generating error.

    Sitemap can be read, but has errors
    Missing XML tag
    1 instance
    This required tag is missing. Please add it and resubmit.
    Examples
    Line 2
    Parent tag:
    urlset
    Tag:
    url
    Plugin Author Benjamin Denis

    (@rainbowgeek)

    Hi,

    Please share the URL of your xml sitemaps.

    Try to disable shortcode execution with this hook:

    https://www.seopress.org/support/hooks/enable-disable-execution-of-shortcodes-in-xml-image-sitemaps/

    Or, disable image sitemaps from SEO, XML sitemaps, General tab.

    Let us know if it’s better.

    I’m also having issues with sitemaps. It’s only showing 5 of my urls when there should be over 150. Seacrh console says 1200+ errors. Posted search console error message below. It’s also showing my home page on my post sitemap and none of my posts(my homepage is a page, not a post). I’ve tried your suggestions earlier of not using image sitemap and it doesn’t help. I can give you the url but not publicly, so please pm me for it.

    Sitemap can be read, but has errors
    Invalid XML tag
    1289 instances
    This tag was not recognized. Please fix it and resubmit.
    Examples
    Line 2
    Parent tag:
    urlset
    Tag:
    image
    Line 6
    Parent tag:
    urlset
    Tag:
    image
    Line 10
    Parent tag:
    urlset
    Tag:
    image
    Plugin Author Benjamin Denis

    (@rainbowgeek)

    @twistedcode please send us the URL of your sitemaps to contact[at]seopress[.]org

    Plugin Author Benjamin Denis

    (@rainbowgeek)

    @twistedcode you have this line at the end of your xml sitemap source code:

    <!-- permalink_structure ends with slash (/) but REQUEST_URI does not end with slash (/) -->

    It means a plugin or something else is altering your sitemaps.

    Try to disable all plugins and reactivate them one by one to find the culprit.

    Make sure your do not cache your sitemaps.

    I tried disabling all plugins one by one and still cannot get the problem to go away.

    Also, I switched seo plugins and my sitemap is generating just fine now. I’d prefer to use seopress though, so please let me know when you figure out the issue.

    Thread Starter rgxr

    (@rgxr)

    Google Bot is actually reading the main sitemap normally (i.e. post-sitemap1.xml), just one of the sitemaps (saswp-sitemap1.xml) is stating error. Rest of the posts are being ranked normally.

    • This reply was modified 3 years, 2 months ago by rgxr.
    Plugin Author Benjamin Denis

    (@rainbowgeek)

    Disabling shortcode execution for image sitemaps could help if you have a page builder using shortcodes to save its data:

    https://www.seopress.org/support/hooks/enable-disable-execution-of-shortcodes-in-xml-image-sitemaps/

    In last resort, try to disable image sitemaps from SEO, XML sitemaps, General tab.

    I’ve tried that on another site with the same problem, still doesn’t work. I have 4 different sites with the same issue, please reach out to me asap so we can get this sorted.

    Plugin Author Benjamin Denis

    (@rainbowgeek)

    @twistedcode can you send me your site URL to contact[at]seopress[.]org please?

    We’ll take in depth look.

    Thx

    Hello,

    I am having the same issue as well. I added the hook to disable the image shortcut as well as disabled image sitemaps from SEO, XML sitemaps, General tab but still getting the error. Below is the link to my sitemap:
    https://simplypavneet.com/sitemaps.xml

    Will appreciate your help in the matter.

    Thanks

    Plugin Author Benjamin Denis

    (@rainbowgeek)

    We are investigating this issue.

    Benjamin got it figured out! New update 5.4.1 is generating sitemaps correctly again. Thanks for the support SEO Press!

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘Post SiteMap Error’ is closed to new replies.