WordPress.org

Ready to get started?Download WordPress

Forums

Google XML Sitemaps
Exclude Posts and Pages does not work (2 posts)

  1. ELsMystERy
    Member
    Posted 1 year ago #

    Disregard.. it works. I had to clear my browser cache and refresh the sitemap.

    http://wordpress.org/extend/plugins/google-sitemap-generator/

  2. ELsMystERy
    Member
    Posted 1 year ago #

    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>`

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.