Help - how to resolve www .. where to check

Discussion in 'Search Engine Optimization' started by GoHalo3, Jun 10, 2011.

  1. #1
    Hello SEO experts and knowledgeable ones..

    I have a site and when I did an SEO review, it said:

    Be careful! Your website without www doesn't redirect to www (or the opposite). It's duplicate content!

    "Be sure that http://xxx.com and http://www.xxx.com are not running in parallel.
    Redirecting requests from a non-preferred hostname is important because search engines consider URLs with and without "www" as two different websites.
    Once your preferred domain is set, use a 301 redirect for all traffic to your non-preferred domain."

    I dont have a 301 redirect on my .htaccess... I dont recall linking anything to www.xxx.com and just xxx.com, how can i verify?

    How do you check for this the easiest way?
     
    GoHalo3, Jun 10, 2011 IP
  2. derekad

    derekad Peon

    Messages:
    109
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    choose also your preferred site in webmaster tools
     
    derekad, Jun 11, 2011 IP
  3. 7dzine

    7dzine Active Member

    Messages:
    134
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    73
    #3
    Use htaccess code to resolve it.
     
    7dzine, Jun 11, 2011 IP
  4. revium

    revium Member

    Messages:
    330
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    33
    #4
    Once you have it setup and want to check if it is working, then go to a site that allows you to view http headers, like web-sniffer.net, and enter in the version of the site you want to redirect and hit enter. The page will reload showing you the http headers. If the status says 'HTTP/1.1 301 Moved Permanently' and the Location shows the URL that you want to redirect to, then your site is redirecting properly.
     
    revium, Jun 11, 2011 IP
  5. ndarsana

    ndarsana Peon

    Messages:
    40
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Place correct code for 301 redirect in root directory using .htaccess file.
     
    ndarsana, Jun 12, 2011 IP
  6. Keppy

    Keppy Peon

    Messages:
    78
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Place this on your htaccess file to redirect non-www to www
     
    Keppy, Jun 12, 2011 IP
  7. online07

    online07 Member

    Messages:
    375
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    26
    #7
    use .htaccess code and also hv to verify in google webmaster
     
    online07, Jun 12, 2011 IP
  8. stardust.x7

    stardust.x7 Active Member

    Messages:
    369
    Likes Received:
    3
    Best Answers:
    1
    Trophy Points:
    90
    #8
    "hv" means?
     
    stardust.x7, Jun 12, 2011 IP
  9. GoHalo3

    GoHalo3 Active Member

    Messages:
    606
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    55
    #9
    I did check Google Webmaster that didn't see anything. I want the site to be with "www" ...
    When i tried to fix this on my .htaccess I got an error, keep in mind I am using Joomla so the .htaccess was defaulted to the what the CMS created.

    I did this;

    RedirectPermanent / http://www.mydomaon.com/

    Is that correct? It should be right but for some reason I get an error.. .
     
    GoHalo3, Jun 13, 2011 IP