I’ve a website composed by some .asp file and a lot of static .html
I want to redirect all
http://www.example.old/abc.html
http://www.example.old/xyz.html
to
http://www.example.new/abc.html
http://www.exaple.new/xyz.html
If I’m on Apache I would use a .htaccess but how could I do that on a ASP, ASP.NET server? (I don’t have access to IIS manager)
.NET Fw: 3.5
OS: Windows 2003
IIS: 6.0
You can do this with global.asax
If this is a permanent redirect then you will want to use a 301 redirect rather than a 302 to allow search engine crawlers to update their links.
Edit: You can’t do this if the pages are html and not handled by the ASP.NET ISAPI filter, you can configure this through IIS manager but you stated that you don’t have access.
For ASP you could use the predecessor to global.asax – global.asa
For the HTML you are probably stuck with a meta refresh.