This project is read-only.

Wildcard handling: URLs without aspx

Sep 6, 2007 at 6: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:
rather than

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
Sep 7, 2007 at 4: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.
Sep 7, 2007 at 7: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
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
is a post, and
would displays all the posts in that month...

Sep 9, 2007 at 8: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:
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.