Support » Plugin: Google XML Sitemaps » Exclude Posts and Pages does not work

Viewing 1 replies (of 1 total)
  • OK, I thought that was the issue, but I was wrong. Clearing the cache worked on one site, but not on another. It still adds # to the sitemap if the page is only used as a placeholder on the menu.

    This results in this error when testing the sitemap with Google Webmaster Tools:

    Errors
    Invalid URL
    This is not a valid URL. Please correct it and resubmit.
    2
    URL: # Parent tag: url Tag: loc 53 Jan 24, 2013
    URL: # Parent tag: url Tag: loc 59 Jan 24, 2013

    The source in the sitemap:

    `<url>
    <loc>#</loc>
    <lastmod>2013-01-19T09:04:28+00:00</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.6</priority>
    </url>
    <url>
    <loc>#</loc>
    <lastmod>2012-12-08T01:41:45+00:00</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.6</priority>
    </url>`

Viewing 1 replies (of 1 total)
  • The topic ‘Exclude Posts and Pages does not work’ is closed to new replies.