SaaS CMS has officially launched! Learn more now.

A simple URL should work both with and without trailing slash


I havent dug around but... Why is a simple URL not matched when visitor use a trailing slash?

For example I have the page /intranet/services/mail/ and on it I've saved the simple URL value "mail". I would expect the user to be redirected to the page for both:

The normal URL-handler gets me to the correct page for both non-simple URL:s:

On a side note: Without trailing slash the handler should do a permanect redirect (301), I haven't checked if this is the case.

Dec 22, 2010 10:28


I looked around our bug system and found:

"#60010: Simple address should work if you append a slash at the end of the URL"

So it has been reported and accepted as a bug.


Per Gunsarfs
EPiServer Development Team

Dec 22, 2010 11:33

Great! I hope it'll be fixed in 6 R2 then.

Dec 22, 2010 14:47

If you need it sooner, the code in this blog post could be adapted pretty easily.

Dec 22, 2010 15:49

I'm stuck on CMS 5 R2, and need to get this working ASAP. Is there any fix around? I checked out Deanes example, but not quite sure how to use it. I compiled your code as is, and just wanted to see if it was called if I appended a trailing slash. But no go. :(


Edited, May 06, 2011 2:34
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* 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.