URL Rewriting

Discussion in 'ASP General' started by Chris, Jun 29, 2006.

  1. Chris

    Chris Guest

    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, Jun 29, 2006
    #1
    1. Advertising

  2. Chris

    Peter Guest

    "Chris" <> wrote in
    news::

    > 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.
     
    Peter, Jun 30, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Juha Borenius

    URL rewriting

    Juha Borenius, Aug 14, 2003, in forum: ASP .Net
    Replies:
    2
    Views:
    465
    Colin Young
    Aug 15, 2003
  2. Thedotnetteer
    Replies:
    2
    Views:
    792
    Thedotnetteer
    Nov 27, 2003
  3. sandeep pandit via .NET 247
    Replies:
    0
    Views:
    904
    sandeep pandit via .NET 247
    Apr 28, 2004
  4. Gaurav  Agarwal
    Replies:
    2
    Views:
    729
    Gaurav Agarwal
    Jan 31, 2005
  5. =?Utf-8?B?cmFwaWRkYXRh?=

    url rewriting with no extension in url

    =?Utf-8?B?cmFwaWRkYXRh?=, Nov 1, 2006, in forum: ASP .Net
    Replies:
    8
    Views:
    406
    Flinky Wisty Pomm
    Nov 2, 2006
Loading...

Share This Page