Forum Moderators: open

Message Too Old, No Replies

Perm Redirect: 301on Windows server

How to redirect html files on a windows server

         

johnd4564

12:53 am on Dec 6, 2006 (gmt 0)

10+ Year Member



I understand that .httaccess cannot be used on a windows server.

I have found posts that tell me how to create a permanent redirect on a windows server with the following code:

<%@ Language=VBScript %>
<%
Response.Status="301 Moved Permanently"
Response.AddHeader "Location", "http://www.example.com/yournewpage.asp"
%>

However the page this code runs on must be a .asp page.

My old site is all in html pages - so how do I do a redirect.

pageoneresults

12:59 am on Dec 6, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



My old site is all in html pages - so how do I do a redirect.

ISAPI_Rewrite

Your host will need to have it installed on the server and then someone will need to configure the .ini for your site with all the redirect rules.