• Resolved hitcl

    (@hitcl)


    I’ve got no problems using the XML-Sitemap generator to create the sitemap.xml file but when I check Google’s webmaster tools an error is returned every time:
    This is not a valid URL. Please correct it and resubmit.
    The error flags line 95 which is the <loc>#</loc> entry in this chunk of code:

    <url>
    	<loc>#</loc>
    	<lastmod>2010-12-14T19:39:41+00:00</lastmod>
    	<changefreq>weekly</changefreq>
    	<priority>0.6</priority>
    </url>

    No matter what I do I can’t get rid of that errant #. There are no published or unpublsihed posts/pages with that title/path or an empty title/path and nothing I can find with that date stamp.

    Does anyone have any ideas?

Viewing 3 replies - 1 through 3 (of 3 total)
  • I was having that too. I fixed mine. I’m using the Suffusion theme.
    It adds more options for pages. The one i have set is “Do not link to this page in the navigation bars If this box is checked, clicking on this page in the navigation bar will not take you anywhere.” So I Exclude the page id in XML Sitemap Generator. Before doing this I notice this page was missing in my sitemap.

    Thread Starter hitcl

    (@hitcl)

    That was it! Thank you.

    I’m running Suffusion too and had the same Do not link to this page in the navigation bars option set on one of my main nav headings, and on checking noticed that the same page was missing from the sitemap.

    Entering the ID of that page and regenerating the sitemap cleared the “#”.

    Checking the problem page it’s noticeable that the permalink is set by Suffusion as “#” when the “Do not link to this page…” option is set. It’s all so very obvious now…

    Now Google & Bing can finally index the site correctly ??

    Thanks for your help.

    another problem on site map generation. i do not know where to trun to but please try and helpme.

    i use simple google sitemap xml.

    it finds url like these:

    <url>
    <loc>https://www.bigdaddy.za.net/2010/12/14/113/</loc&gt;
    <lastmod>2011-01-01</lastmod>
    <changefreq>always</changefreq>
    <priority>0.5</priority>

    those urls are not valid and google pick it up as incorrect
    <url>
    <loc>https://www.bigdaddy.za.net/plugins-used/</loc&gt;
    <lastmod>2011-01-01</lastmod>
    <changefreq>always</changefreq>
    <priority>0.5</priority>

    i do not know how to find the the pages? to delete such and since the sitemap is regenerated all the time it picks up the wrong url remain in the system

    please help;
    charles

    [sig moderated as per the Forum Rules]

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Google-sitemap-generator] Not a valid URL’ is closed to new replies.