301 redirect

I too am interested in a 301 redirect. Mine would be redirecting one domain to another. From another thread, I got the hint that the CP redirect performs a 302 temp redirect (not sure that makes sense to me). Since my page is hosted on an IIS (Windows) server, .htaccess 301 redirect is not an option. Normally an IIS redirect is done through IIS admin console, but of course we don't have access to that, which is why I was kind of hoping the CP redirect would accomplish the same thing. I guess .asp code is the only way to perform a 301 redirect on an IIS server without harming search standings? Any help / code would be appreciated. Thanks,

Hans
 
I was told that I should put a 301 redirect for domain http://tourgolfclubs.com to http://www.tourgolfclubs.com. I am not sure how I would do that. Any help would be appreciated.

Thanks

Not clear if you are on Linux or not.....

For 301, I found it's best to always avoid tags and use something sever side (also make sure it re-directs all pages):

redirectMatch 301 ^(.*)$ http://www.tourgolfclubs.com
redirectMatch permanent ^(.*)$ http://www.tourgolfclubs.com

work well.

Hope that helps!
 
I too am interested in a 301 redirect. Mine would be redirecting one domain to another. From another thread, I got the hint that the CP redirect performs a 302 temp redirect (not sure that makes sense to me). Since my page is hosted on an IIS (Windows) server, .htaccess 301 redirect is not an option. Normally an IIS redirect is done through IIS admin console, but of course we don't have access to that, which is why I was kind of hoping the CP redirect would accomplish the same thing. I guess .asp code is the only way to perform a 301 redirect on an IIS server without harming search standings? Any help / code would be appreciated. Thanks,

Hans

I'm not a pro at Windows/ASP redirection, but I think these are pretty standard codes:

ASP:

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


ASP.net:

private void Page_Load(object sender, System.EventArgs e){
Response.Status = "301 Moved Permanently";
Response.AddHeader("Location","http://www.yournewdomain.com");
}


Like the PHP htaccess code I shared above for previous post (I didn't realize how old that post was), they are supposed to allow you to maintain rank while your new site is being crawled. Usually, it actually does work. But sometimes it doesn't. I have had a couple of sites that took a nose dive within a couple of weeks. I'm not an SEO expert, but Im starting to believe that no one really is :)

Hope that helps.
 
Sorry to necropost this but I think this is valuable.

I've found a solution to redirect example.com to www.example.com.

  • Setup a "stub" domain that handles all the non website file stuff (mail, nameserver, ftp, etc.)
  • Turn off all Web Service options for example.com but leave the Web service running.
  • Remove the default www (www.example.com) Server Alias from example.com's Web Service
  • Create a new www (www.example.com) sub domain under example.com.
  • Remove the default www (www.www.example.com) Server Alias from www.example.com's Web Service
  • Add a 301 permanent redirect in example.com's Web Service to http://www.example.com

From then on I use www.example.com only for hosting files and example.com for everything else.

I also added a note to the root of example.com explaining why it is empty.
 
Back
Top