sarumu1
02-14-2005, 05:26 PM
Hi everyone, I need some major advice so i don't incur the wrath of penalization by google (or yahoo).
I did a major update of my site which is hosted on a MS server IIS server and I need to 301 redirect several pages whose file names have been changed (about 30 pages in all - not that many).
Specifically, I need to accomplish the following:
1. to redirect a .html page to a new .html page within my website.
2. to redirect a .html page to a new .asp page within my website.
Using the info available here - http://www.webmasterworld.com/forum23/3432.htm - there's a very simple script that can be inserted into the top of the page:
<%@ Language=VBScript %>
<%
Response.Status="301 Moved Permanently"
Response.AddHeader "Location", "http://www.example.com/new-page.asp"
%>
- but, as I found out, the script doesn't work on .html pages, it only works on .asp pages - and after doing a google search, it appears that .html pages must be redirected at the server level. Unfortunately, my host cannot "accomodate" me (I know, I know - I should move, and probably will in the near future).
Does anyone have any suggestions for me? My site is fairly young (born early dec'04).
If not, then what do you feel about these choices as possible options:
1. I could use the simple meta refresh tag at the top of the old pages and then remove those pages from the server when the new pages get indexed as a last resort
2. alternatively, I could simply leave the old pages up as they are, without any redirect at all and then remove them when the "new" pages get indexed.
Any comments/ suggestions would be greatly appreciated.
Thanks, Subbu.
I did a major update of my site which is hosted on a MS server IIS server and I need to 301 redirect several pages whose file names have been changed (about 30 pages in all - not that many).
Specifically, I need to accomplish the following:
1. to redirect a .html page to a new .html page within my website.
2. to redirect a .html page to a new .asp page within my website.
Using the info available here - http://www.webmasterworld.com/forum23/3432.htm - there's a very simple script that can be inserted into the top of the page:
<%@ Language=VBScript %>
<%
Response.Status="301 Moved Permanently"
Response.AddHeader "Location", "http://www.example.com/new-page.asp"
%>
- but, as I found out, the script doesn't work on .html pages, it only works on .asp pages - and after doing a google search, it appears that .html pages must be redirected at the server level. Unfortunately, my host cannot "accomodate" me (I know, I know - I should move, and probably will in the near future).
Does anyone have any suggestions for me? My site is fairly young (born early dec'04).
If not, then what do you feel about these choices as possible options:
1. I could use the simple meta refresh tag at the top of the old pages and then remove those pages from the server when the new pages get indexed as a last resort
2. alternatively, I could simply leave the old pages up as they are, without any redirect at all and then remove them when the "new" pages get indexed.
Any comments/ suggestions would be greatly appreciated.
Thanks, Subbu.