View Full Version : How do I do a 301 redirect on MS Hosted site
copealan
07-30-2009, 11:23 PM
Hi,
I have two websites hosted using 1&1 MS Business package. I'm trying to find a way to 301 redirect a large number of HTML pages from one site to the other. As the hosting service I have is Windows based, htaccess files won't work. Any ideas anyone?
Thanks
thetestingsite
07-30-2009, 11:53 PM
There should be something in the control panel; however, I'm not familiar with 1 & 1. Your best bet would be to ask the host what options you have available.
Hope this helps.
Beverleyh
07-31-2009, 09:00 AM
You can redirect using a php script - this should help: http://masbuchin.com/301-redirect-with-php.htm
copealan
07-31-2009, 09:08 PM
Hi,
Unfortunately I have MS hosting which does not support PHP or .htaccess files. It does support ASP scripts however and I have seen some code that says it will do a 301 redirect but I'm not sure how I fit this into a .htm document to get it to work. The code is -
<%@ Language=VBScript %>
<%
Response.Status="301 Moved Permanently"
Response.AddHeader "Location","http://www.scottish-folk-music.com/clubs.htm"
%>
Any help would be appreciated.
Thanks
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.