Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Andrew Munro 78 posts 161 karma points
    Nov 15, 2012 @ 20:43
    Andrew Munro
    0

    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!

  • Andrew Munro 78 posts 161 karma points
    Nov 15, 2012 @ 21:43
    Andrew Munro
    0

    Got it working. the urlRedirects config file did the trick (duh!)

Please Sign in or register to post replies

Write your reply to:

Draft