Our client has asked that we add some pages generated from our database products to the xml sitemap.
Do you use XSLT or another way to generate the sitemap that I can update or do I need to make a completely separate one?
No it's generated on best practices. You can edit prio etc and you can disable some pages based on naviHide or document type configuration. What is it that your client want you to change?
They advertise different products/experiences and these come from a totally separate database so aren't part of umbraco, but they each have their own page (well query string based but url rewritten, so something like /producttype/productname) and they want these to appear in the sitemap.
I was just wondering if I'm able to add them somehow?
Ah now I see why you want to modify.But unfortunately it's not possible to add those at runtime. You might want to use a different sitemap package, or generate your own and add those product url's o it.
I'll make sure there will be events in the near future where you can add those url's yourself during rendering of the sitemap but will take at least a couple of weeks.
Can I edit the sitemap?
Hi
Our client has asked that we add some pages generated from our database products to the xml sitemap. Do you use XSLT or another way to generate the sitemap that I can update or do I need to make a completely separate one?
Thanks
Bex
Hi Bex,
No it's generated on best practices. You can edit prio etc and you can disable some pages based on naviHide or document type configuration. What is it that your client want you to change?
Best,
Richard
Hi Richard!
Thanks for your reply!
They advertise different products/experiences and these come from a totally separate database so aren't part of umbraco, but they each have their own page (well query string based but url rewritten, so something like /producttype/productname) and they want these to appear in the sitemap.
I was just wondering if I'm able to add them somehow?
Hi Bex,
Ah now I see why you want to modify.But unfortunately it's not possible to add those at runtime. You might want to use a different sitemap package, or generate your own and add those product url's o it.
I'll make sure there will be events in the near future where you can add those url's yourself during rendering of the sitemap but will take at least a couple of weeks.
Best,
Richard
That's great that you'll be adding the events at some point!
I shall use a separate package or generate my own for the time being and hopefully add them back into yours when the functionality is available.
Hi Richard
Just checking, does the same go for the robots file? I'd like to add my custom sitemap to it as it's no longer sitemap.xml it's an aspx page!
Thanks
Hi Bex,
Yes you can. Right click on a domain in domain/rootnode settings, select robot.txt file and you can edit the sitemap url.
Best,
Richard
Ah great! Thanks!
is working on a reply...