Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Google Webmaster Tools informed me that all the file paths in my sitemap were invalid. They were being printed as: http://website.comhttp://www.website.com/page.aspx
The following code was the problem:
<loc><xsl:value-of select="$url"/><xsl:value-of select="umbraco.library:NiceUrl(@id)"/></loc>
When I commented out <xsl:value-of select="$url"/>, the problem was resolved, and my Google Webmaster Tools errors went away.
I believe the problem occurred because I installed "CultivDynamicRobots" package. Both this sitemap package and CultivDynamicRobots call HTTP_HOST, so the root level of my domain may have been doubled as a result. (Just a guess... I'm no expert.)
Just thought I'd share in case anyone else has experienced this problem.
Thanks for sharing Luke, it resolved my issue. I guess it also be an issue if you use umbraco hostnames.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted