Click here to Skip to main content
15,879,535 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: (untagged)
Hi,

I have multiple home pages in 2 languages, (Arabic, English). I want to set sitemap for each of them, but an error occurred:

Exactly one <sitemapnode> element is required directly inside the <sitemap> element

How to set 2 separated parent node in ASP.NET sitemap?
Posted

Have look at:How to: Localize Site-Map Data[^]

Another alternative is to have two sitemaps, one for Arabic and another for English.

Best regards
Espen Harlinn
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900