There is a lot of talk about duplicate content arising in Google due to your site being indexed on both secure and nonsecure ports... I don't wish to get into such a discussion. I just want to show a way to change the robots meta tag conditions. If your site is configuired using standard ports; Port 80 for http and port 443 for https you can copy and paste, otherwise you can guess from here what to do if your ports are different.
Using the server port server variable (Request.ServerVariables("server_port") )...
<%
if Request.ServerVariables("server_port") = "443" then
Response.Write "<meta name=""robots"" content=""noindex,nofollow"">"
Else
Response.Write "<meta name=""robots"" content=""Index, ALL"">"
End if
%>
You can test by looking at your source code. You’ll see it as:
<meta name="robots" content="Index, ALL">
Now go to secure mode (change the http:// to https:// )and view the source.
<meta name="robots" content="noindex,nofollow">
Andy Spliethof
www.scarabmedia.com