When migration sites, from time to time, I must map entire sub-directories to a new page. As such, specifying regex rules for the mapping makes it that much more functional.
You can use UrlRewriting, but then it is checked every page request. With the 404 approach, it is only checked on pages that fail. I have had sites that have used 300+ mappings, and it is a pain in UrlRewriting. Instead, I use a custom user control that runs on a 404 page and does a lookup and proper redirect.
Regex Custom Mapping.
When migration sites, from time to time, I must map entire sub-directories to a new page. As such, specifying regex rules for the mapping makes it that much more functional.
And another nice feature request by Casey ;-)
Will think about it, it sounds good! If someone else would like to see this too, please add a post here :)
You can already do this inside the /config/UrlRewriting.config but a GUI would of course be nice
Yannick,
You can use UrlRewriting, but then it is checked every page request. With the 404 approach, it is only checked on pages that fail. I have had sites that have used 300+ mappings, and it is a pain in UrlRewriting. Instead, I use a custom user control that runs on a 404 page and does a lookup and proper redirect.
Added this feature to version 1.1, which I'll upload today :-)
Please mark this thread as solved, thanks!
Just uploaded v1.1, please mark this thread as solved :-)
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.