Custom Urls , EpiServer 4.xx

Vote:
 
Hi I'm trying to use a HttpModule to do custom redirects I have the url www.episite.com/someNONExistantUrl which i want redirect to www.episite.com/anExistingPage I've added a customhttpmodule to the top of the httpmodule section of my webconfig. My problem is that the first request that executes the module has the request url of: www.episite.com/Util/NotFound.aspx not www.episite.com/someNONExistantUrl as i would have expected This says to me that some other code is being executed before customhttpmodule is executed Does anyone know what this code is? Cheers Tim
#13384
Mar 25, 2008 18:36
Vote:
 
it seam the the 404 address is always specified with a friendUrl. I guess the FriendlyUrlmodule must pull the correct address out after the page has not been initially found, not before as i guessed
#19093
Mar 26, 2008 10:32
Vote:
 
Why not use the shortcut url (under the advanced tab) to do this? Btw. the "not found url" should be in the querystring to the 404 page. /Steve
#19094
Mar 26, 2008 10:32
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.