301 redirects (Full Version)

All Forums >> [Web Development] >> ASP and Database



Message


helensnow -> 301 redirects (5/8/2008 15:35:50)

Hello,

I looked over past entries, but did not see exactly what I was looking for.



I want to do a http 301 as an ASP file that redirects to the exact URL instead of afront page, Foir instance


www.abc.com/subfolder/data

gets redirected to

www.defcom/subfolder/data

That means whatever the URL that hits the website a redirect takes the entire URL and redirects by parsing the entire Path and navigating to the full URL that was contained in the URL query instead of a simple 301 redirect that ignores the URL and redirects to a fixed webpage,

Kind regards
Helen












rdouglass -> RE: 301 redirects (5/8/2008 16:54:20)

I use a product called ISAPI_Rewrite which will 'rewrite' all the header info and stuff and do exactly that. It will not be a 301 or a 302.

You should check your host and see if they offer any kind of rewrite stuff since it is a server level component. Many already have something like it available.

Hope it helps.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
4.711914E-02