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
Hi great package firstly
I have a content tree which has folders that are dates but of course they show up on the sitemap.xml similar to this
<loc>http://localhost:60446/news/2010.aspx</loc>
is there anyway to hide these? as my news sections are organised like so
<loc>http://localhost:60446/news/2010/a-august-2010-article.aspx</loc> and i dont want 2010.aspx to show up
Thanks
Tim
add a property with an alias of umbracoNaviHide and the sitemap package should ignore them.
You could also edit the xslt that creates the sitemap and ignore the DateFolder doctype but still process it's children
I've just installed this package but I can't see the xslt that Daniel mentions?
"You could also edit the xslt that creates the sitemap and ignore the DateFolder doctype but still process it's children"
I need to make some amends to what is produced in the XML file. Is there any way to do this?
Thanks in advance
Ben
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Possible to hide nodes?
Hi great package firstly
I have a content tree which has folders that are dates but of course they show up on the sitemap.xml similar to this
<loc>http://localhost:60446/news/2010.aspx</loc>
is there anyway to hide these? as my news sections are organised like so
<loc>http://localhost:60446/news/2010/a-august-2010-article.aspx</loc> and i dont want 2010.aspx to show up
Thanks
Tim
add a property with an alias of umbracoNaviHide and the sitemap package should ignore them.
You could also edit the xslt that creates the sitemap and ignore the DateFolder doctype but still process it's children
I've just installed this package but I can't see the xslt that Daniel mentions?
"You could also edit the xslt that creates the sitemap and ignore the DateFolder doctype but still process it's children"
I need to make some amends to what is produced in the XML file. Is there any way to do this?
Thanks in advance
Ben
is working on a reply...