Wildcard handling: URLs without aspx

Developer
Sep 6, 2007 at 5:14 PM
I would like to see the BlogEngine.NET handle allow URLs without .aspx endings. It would be great to have posts look like:
/post/2007/09/04/my-great-post/
rather than
/post/my-great-post.aspx

and the same with tags and categories (/category/dotnet/ instead of /category/dotnet.aspx). I realize this requires wildcard handling, but I would be happy to work on this part.

I'm using BlogEngine.NET at http://johndyer.name/
Sep 7, 2007 at 3:57 PM
In terms of URL rewriting for SEO and general usability, it's a good idea.

There's also a problem/feature with Google whereby they only crawl a limited number of dynamic URL's on a website. A lot of companies get around this by using URL rewriting software or (in the case of my company) an ISAPI. This turns the aspx page into a .htm file, and incorporates querystrings into the page title as well.
Developer
Sep 7, 2007 at 6:52 PM
Currently, since BlogEngine.NET uses aspx files instead of a querystring, there is no SEO problem (of which I'm aware). It's more of a usability concern and a "pretty" URL problem. To me
/category/dotnet/
just looks nicer than
/category/dotnet.aspx or /category/dotnet.php

and doesn't show any the backend.

I'd also love for the date/year to "function" not just as a slug, so that
/post/2007/09/04/my-great-post/
is a post, and
/post/2007/09/
would displays all the posts in that month...

Sep 9, 2007 at 7:07 AM
I would like to see this feature as well.
The rewriting functionality would be complete with the arbitrary post extension.
I'm actually experimenting with the 1.1 codebase here: http://telecenti.com/blog
There's a postback issue with asp:loginstatus that I couldn't get around until I turn off enableViewStateMac and viewStateEncryptionMode.
Still, couldn't figure out a way to get it to not spit out the ReturnUrl query param, which points to the actual .aspx. But this can be corrected with custom code.