Mod_rewrite alternative in ASP

Hi there!

I'm working on version 2.0 of my site (mainly a blog) and I'm looking for some tips. I want to code my own blog from scratch (not using WordPress or others) and I've found a bit of a problem with permalink URLs.

For SEO optimization I'd rather have URLs like "...net/blog_post_about_cats" better than "...net/blog.asp?id=45". This is accomplished with mod_rewrite in Apache/UNIX sistems and with some ISAPI filter on IIS/Windows ones. But JodoHost has already stated that has no plans of installing any (?not even isapirewrite free version?) for stability issues.

Is there any other way to "fake" mod_rewrite behaviour using ASP? (not .NET)

Thanks in advance!

--
Adolfo I.C.
Aibarra.net - Desarrollo web, weblog, fotos, portfolio...
 
I generally create a 404 script which finds the "not found" URL string in a database and returns the right data (in your case blog entry) based on the URL. This is language-independent, works with classic ASP as well.
 
Hi there,

that's a nice workaround, antic. As you are rising an error, may that be a problem for:

a) Server load or performance
b) Search engine indexing
c) Adding "faked" URLs to favourites

Thanks for the inspiration :)

Update: I've made some quick testing and I get
Code:
www.domain.com/error_page.asp?www.domain.com/faked.htm
like URLs :( I could then redirect to a something.asp?id=XXX URL that's not mod_rewrite behaviour.
 
Back
Top