I have deleted my sitemap and of course I get the error page 180 was not found.
Rad 104: if(CurrentPage["Sitemap"] == null)
Rad 105: return null;
Rad 106: _sitemapPage = GetPage((PageReference)CurrentPage["Sitemap"]);
Rad 107: }
Rad 108: if(_sitemapPage == null)
How do I get my sitemap back?
Thanks
Hi.
If you are using the sample site the reference to sitemap is set by a dynamic property. Create a new page of the type Sitemap and update the reference to your new site.
You can check if the old sitemap exists in the recycle bin.
/Øyvind
Rad 104: if(CurrentPage["Sitemap"] == null) Rad 105: return null; Rad 106: _sitemapPage = GetPage((PageReference)CurrentPage["Sitemap"]); Rad 107: } Rad 108: if(_sitemapPage == null)
How do I get my sitemap back? Thanks