Routing 'sitemap.xml' to an Umbraco handled page in 4.9
Hi Guys. I've recently added the CultivSearchEngineSiteMap package to my site for SEO purposes. The only issue is that it creates a route for /CultivSearchEngineSiteMap. My goal is to create a redirect or route to this page from the 'sitemap.xml' request. I would still like to be able to access it through /CultivSearchEngineSiteMap but it would be a lot nicer if /sitemap.xml worked as well.
I'm not too familiar with how Umbraco does url rewriting and redirecting so I figured I would ask this here. Any ideas? Thanks!
Routing 'sitemap.xml' to an Umbraco handled page in 4.9
Hi Guys. I've recently added the CultivSearchEngineSiteMap package to my site for SEO purposes. The only issue is that it creates a route for /CultivSearchEngineSiteMap. My goal is to create a redirect or route to this page from the 'sitemap.xml' request. I would still like to be able to access it through /CultivSearchEngineSiteMap but it would be a lot nicer if /sitemap.xml worked as well.
I'm not too familiar with how Umbraco does url rewriting and redirecting so I figured I would ask this here. Any ideas? Thanks!
Got it working. the urlRedirects config file did the trick (duh!)
is working on a reply...