IIS ASP - URL Rewriting

This is Interesting: Free IT Magazines  
Home > Archive > IIS ASP > June 2006 > URL Rewriting





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author URL Rewriting
Chris

2006-06-29, 7:20 pm

I want to rewrite URL's from asp type ones with querystrings to more search
engine friendly ones. I was looking at two options:

isapirewrite or a bit of a hack which replaces the 404 page with a custom,
which examines the url and then does a server transfer to the querystring
page.

The hack works quite well with one problem, only the 404 page is written to
the IIS log. Does Isapi rewrite have the same problem.

Can anyone recommend any pointers to combining URL rewriting and web
statistics.


Peter

2006-06-30, 1:19 am

"Chris" <nospam@btinternet.com> wrote in
news:udYrPx7mGHA.2252@TK2MSFTNGP04.phx.gbl:

> I want to rewrite URL's from asp type ones with querystrings to more
> search engine friendly ones. I was looking at two options:
>
> isapirewrite or a bit of a hack which replaces the 404 page with a
> custom, which examines the url and then does a server transfer to the
> querystring page.
>
> The hack works quite well with one problem, only the 404 page is
> written to the IIS log. Does Isapi rewrite have the same problem.
>
> Can anyone recommend any pointers to combining URL rewriting and web
> statistics.
>
>


From experience, the ISAPI filter will only log the resultant URL.

If you must have two log entries, try a 301 or 302 redirect from your
custom 404 page.
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com