|
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]
|
|
|
| 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.
| |
|
| "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.
|
|
|
|
|