global.asa VS default.asp

Discussion in 'ASP General' started by Dave Karmens, Apr 12, 2004.

  1. Dave Karmens

    Dave Karmens Guest

    I have some vb script in default.asp that detects what URL was requested
    and redirects accordingly, but it looks like the major search engines
    are not following the redirect correctly, so just the URL is listed...
    any way to use global.asa to handle the URL checking, and let
    default.asp only display content?

    The code checks for: something.domain.com

    then...

    if != www.domain.com it and something.domain.com is a valid entry,
    redirect to something.domain.com
     
    Dave Karmens, Apr 12, 2004
    #1
    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. Wayne
    Replies:
    2
    Views:
    493
    Wayne
    Nov 11, 2003
  2. -
    Replies:
    3
    Views:
    4,067
    Steve Sobol
    Jan 16, 2005
  3. yuridia

    Problem loading ASP and global.asa in IIS 5.0

    yuridia, Oct 13, 2004, in forum: ASP .Net Web Services
    Replies:
    0
    Views:
    112
    yuridia
    Oct 13, 2004
  4. Grahammer
    Replies:
    12
    Views:
    357
    Chris Hohmann
    Aug 21, 2003
  5. Tom Bates
    Replies:
    0
    Views:
    166
    Tom Bates
    Sep 8, 2003
Loading...

Share This Page