301 Redirects - Bit Confused....

Discussion in 'Search Engine Optimization' started by tomupton, Feb 18, 2008.

  1. #1
    Hi All,
    Im hoping someone can give me some friend advice on the below. I have just ran my website through a SEO analysis tool which has provided me some very good feedback. One of the recommendations the site has come up with is 301Redirects.

    Below is the report.

    Permanent Redirect Not Found

    Search engines may think www.calosol.com and calosol.com are two different sites.

    You should set up a permanent redirect (technically called a "301 redirect") between these sites. Once you do that, you will get full search engine credit for your work on these sites. For example, www.calosol.com seems to have 7,902 inbound links whereas calosol.com has 8,615 inbound links. By correctly configuring a permanent 301 redirect, the search rankings might improve as all inbound links are correctly counted for the website.


    The situation is im not too sure where to go from here. I understand there are various methods of adding 301 redirects. Below are 2 questions im hoping some of you seo experts can help me solve :)

    1) What would be the best method for me to use?
    2) What do i need to do to implement it ?

    Regards
    Tom
     
    tomupton, Feb 18, 2008 IP
    usasportstraining likes this.
  2. ched

    ched Active Member

    Messages:
    185
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    90
    #2
    I have read the www and non www cause search engines to see effectively 2 different sets of pages. I am not sure how true this is.

    If you do want to redirect then a 301 redirect is the best for search engines as its all done by the server. Basically you need to either edit or create a .htaccess file. If you have a search for htaccess 301 redirect. This site gives some useful info http://www.tamingthebeast.net/articles3/spiders-301-redirect.htm
    Only thing to remember is what type of server you are running i.e apache or IIS etc....
     
    ched, Feb 18, 2008 IP
  3. tomupton

    tomupton Active Member

    Messages:
    392
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    58
    #3
    Thanks mate for your reply ;D

    Just looking at the link you provided now!

    Regards
    Tom

     
    tomupton, Feb 18, 2008 IP
  4. astup1didiot

    astup1didiot Notable Member

    Messages:
    5,926
    Likes Received:
    270
    Best Answers:
    0
    Trophy Points:
    280
    #4
    RewriteCond %{HTTP_HOST} ^yourdomain\.com$ [NC]
    RewriteRule ^(.*)$ http://www.yourdomain.com/$1 [R=301,L]

    Just add the above to your .htaccess file in your top level directory, make sure to change yourdomain.com to your actualy domain name.
     
    astup1didiot, Feb 18, 2008 IP
    usasportstraining likes this.
  5. Yosser

    Yosser Active Member

    Messages:
    480
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    60
    #5
    If you're using ASP on an IIS server, pop this code in at the top of the page you want to redirect;

    <%@ Language=VBScript %>
    <%
    If InStr(Request.ServerVariables("SERVER_NAME"),"www") = 0 Then
    	Response.Status="301 Moved Permanently"
    	Response.AddHeader "Location","http://www.yoursite.com"
    		 Request.ServerVariables("HTTP_HOST")
    		 Request.ServerVariables("SCRIPT_NAME")
    End if
    %>
    Code (markup):
    See also this site; http://www.seoworkers.com/seo-articles-tutorials/permanent-redirects.html
     
    Yosser, Feb 18, 2008 IP
    usasportstraining likes this.