943,925 Members | Top Members by Rank

Ad:
  • ASP Discussion Thread
  • Unsolved
  • Views: 2010
  • ASP RSS
Oct 18th, 2006
0

301 redirect URLs in asp?

Expand Post »
I have a client site written in asp, and I need to 301 redirect some referer URLs to the homepage URL.

I know how to do this on a linux server, but am somewhat lost on Windows.

Any suggestions as to how to do it much appreciated.
Last edited by I, Brian; Oct 18th, 2006 at 10:56 am.
Similar Threads
Reputation Points: 10
Solved Threads: 1
Light Poster
I, Brian is offline Offline
47 posts
since Mar 2004
Oct 18th, 2006
0

Re: 301 redirect URLs in asp?

how you did in linux.
Reputation Points: 85
Solved Threads: 42
Nearly a Posting Virtuoso
vishesh is offline Offline
1,362 posts
since Oct 2006
Oct 18th, 2006
0

Re: 301 redirect URLs in asp?

Do you mean simply upload a .htaccess file to the site root, with something like:

Quote ...
Redirect permanent /referrer.php?id=1000 http://www.domain.com
That works on a windows platform??
Reputation Points: 10
Solved Threads: 1
Light Poster
I, Brian is offline Offline
47 posts
since Mar 2004
Oct 18th, 2006
0

Re: 301 redirect URLs in asp?

yeah! .htaccess works in windows too.
Last edited by vishesh; Oct 18th, 2006 at 11:36 am.
Reputation Points: 85
Solved Threads: 42
Nearly a Posting Virtuoso
vishesh is offline Offline
1,362 posts
since Oct 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in ASP Forum Timeline: Code Check, Please
Next Thread in ASP Forum Timeline: how to set the multiple submit button in asp





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC