This project has moved and is read-only. For the latest updates, please go here.

trailing slash

Jun 22, 2013 at 7:43 PM

I prefer using a trailing slash. Didn't know how to do this, but for now found out that just using the / as extention works just fine (in the web.config).

this gives problem with e.g. the login page. But this is simply solved by adding a page named login and adding the login module. Same for privacy etc.

Now there is 1 important thing needed to do. How to 301 to

Please advise
Jun 23, 2013 at 5:51 PM

Actually its not possible with open url rewriter.

In next version it will be.

Jun 24, 2013 at 9:37 PM
Thanx for the great work. Looking forward to the next version!
Jun 27, 2013 at 8:51 PM

New version v0.4 is available with support for trailing slash

This is archived with FileExtention="/" in web.config.

Jun 28, 2013 at 12:30 PM
great. Also see in log that using it without / 301 to with / so great!
Jul 3, 2013 at 8:37 AM
Can it be we made a thinking error?

Using the file extention for the trailing slash.. ?

if the site is not kept alive starting the site on sub page like site/web service/ gives a 404
could be logical as dnn is not build and the url rewrite is module and iis thus treats this request as
folder and no default document....

so 404 ?

Any ideas?

Jul 3, 2013 at 10:34 AM

I have make try on my demo site, and it don't happen.
It sound not logic to me.

If your website is configured the way that trait all requests, the rewriter have to trait requests.

What you can do, is look at the response header (in firebug or fiddler).
There you can find :
X-StbUrlRewriter-Debug:/en/modules/dnn-simple-articles, ~/Default.aspx?TabID=202&language=en-US
That can tell you maybe more about the problem.

Jul 15, 2013 at 9:57 PM
404 issues are gone with latest update.
Jul 16, 2013 at 12:32 PM
Ok, nice.