Domain not working with WWW

Discussion in 'Google' started by mhp, Jul 20, 2010.

  1. #1
    Look at the followings:
    http://petfriendlycabins.net/ - WORKS
    http://www.petfriendlycabins.net/ - NOT WORKING!

    My site disappeared from Google search results for main keywords. The only thing I can think of is that this site is missing the www part. I've double checked the DNS setting. Everything is setting up like my other domains but only this domain has a problem. Can anyone help?! Thanks in advance!

    Built in A records
    petfriendlycabins.net

    Custom A records
    *.petfriendlycabins.net

    Built in MX records
    petfriendlycabins.net
     
    mhp, Jul 20, 2010 IP
  2. mcfox

    mcfox Wind Maker

    Messages:
    7,526
    Likes Received:
    716
    Best Answers:
    0
    Trophy Points:
    360
  3. konrad

    konrad Peon

    Messages:
    808
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #3
    They both work for me...
     
    konrad, Jul 20, 2010 IP
  4. aaz48

    aaz48 Well-Known Member

    Messages:
    167
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    103
    #4
    modify your htaccess.. search at google by query : redirect www to non www by htaccess
     
    aaz48, Jul 20, 2010 IP
  5. simmo125

    simmo125 Peon

    Messages:
    202
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #5
    They both work ine, having no WWW or having the WWW has no effect when it comes to ranking.
     
    simmo125, Jul 20, 2010 IP
  6. Chuckun

    Chuckun Well-Known Member

    Messages:
    1,161
    Likes Received:
    60
    Best Answers:
    2
    Trophy Points:
    150
    #6
    They both work fine for me.. (and others as far as I can see..)

    The problem must be local to you..
     
    Chuckun, Jul 20, 2010 IP
  7. Grimm

    Grimm Peon

    Messages:
    3,072
    Likes Received:
    57
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Well he must have already fixed it when mcfox suggested to look at his .htaccess.
     
    Grimm, Jul 20, 2010 IP
  8. Allthebest

    Allthebest Peon

    Messages:
    530
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #8
    i will also suggest you to check out your .htaccess seating.
     
    Allthebest, Jul 20, 2010 IP
  9. humtuma

    humtuma Notable Member

    Messages:
    1,225
    Likes Received:
    24
    Best Answers:
    3
    Trophy Points:
    250
    #9
    I don't think .htaccess b'coz when we install the any script and want to change or install in sub domain than it will be useful not with "www." it is the default with every website. For ex-
    www.filesearching.org
    filesearching.org

    May be i am wrong but i have done this my with my some websites.
     
    humtuma, Jul 20, 2010 IP
  10. mhp

    mhp Active Member

    Messages:
    99
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #10
    Thanks for all the suggestions folks!

    I've added the .htaccess file as many of you had recommended to force the www:

    Options +FollowSymlinks
    RewriteEngine On
    RewriteCond %{http_host} ^petfriendlycabins.net [NC]
    RewriteRule ^(.*)$ http://www.petfriendlycabins.net/$1 [R=301,L]

    The above .htaccess file seems to work since I can see the browser trying to redirect from non-www to www. However, now the browser give me a redirect loop error because I can see that something else is forcing the www back to non-www. As far as I know, there are no other .htaccess files at play here. Has anyone else encountered this?


    Separately (and more importantly), the site is no longer being indexed by Google. Could it be cause by the lack of www? The non-www URL works fine.
     
    mhp, Jul 20, 2010 IP
  11. Chuckun

    Chuckun Well-Known Member

    Messages:
    1,161
    Likes Received:
    60
    Best Answers:
    2
    Trophy Points:
    150
    #11
    You can tell Google whether to use www. or non-www. in webmaster tools :)
     
    Chuckun, Jul 21, 2010 IP
  12. monsia

    monsia Peon

    Messages:
    92
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #12
    most people prefer non www URLs. Wondering why it helps and in what?
     
    monsia, Jul 21, 2010 IP
  13. mcfox

    mcfox Wind Maker

    Messages:
    7,526
    Likes Received:
    716
    Best Answers:
    0
    Trophy Points:
    360
    #13
    Hmm. Very odd. The .htaccess you pasted should go to www.domain but as you say, it is being redirected to .domain.

    Nothing in the absolute root? Y'know, above public.

    Nah, you're indexed and ranking quite well on Google for the .domain (rather than the www.domain) url. I wouldn't touch it if I were you.

    Edit: btw, you have a typo on your site - PetFriendlyCabins.com ;)
     
    mcfox, Jul 21, 2010 IP
  14. duia

    duia Peon

    Messages:
    281
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #14
    It may be the error of htaccess file. Please update your htaccess and then check this WWW URL.
     
    duia, Jul 21, 2010 IP
  15. Chuckun

    Chuckun Well-Known Member

    Messages:
    1,161
    Likes Received:
    60
    Best Answers:
    2
    Trophy Points:
    150
    #15
    Simply because it LOOKS like a shorter URL..

    Personally, I force WWW for my own reason.. But I used to use non-www simply because shorter URLs are more appealing..

    Chuckun
     
    Chuckun, Jul 21, 2010 IP
  16. GuruCreation

    GuruCreation Notable Member

    Messages:
    2,780
    Likes Received:
    65
    Best Answers:
    0
    Trophy Points:
    235
    #16
    The one you said doesn't work - is working for me.
     
    GuruCreation, Jul 21, 2010 IP
  17. M1chael

    M1chael Peon

    Messages:
    110
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #17
    They both work for me also.

    Might be worth checking your web browser and clearing your cache. That helped me the last time that issue happened with my website.

    Regards,
    M1chael
     
    M1chael, Jul 21, 2010 IP
  18. VedoMedia

    VedoMedia Peon

    Messages:
    62
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #18
    it works.. just checked!!!
     
    VedoMedia, Jul 21, 2010 IP
  19. Chuckun

    Chuckun Well-Known Member

    Messages:
    1,161
    Likes Received:
    60
    Best Answers:
    2
    Trophy Points:
    150
    #19
    Also, try this...

    Run CMD (in Admin Mode on vista/win7 - Start > Programs > Accessories > right click "Command Prompt" and Run As Administrator).

    type ipconfig /flushdns (I think that's it anyways.. I dont remember, its been ages since I used Windows..)

    Chuckun
     
    Chuckun, Jul 21, 2010 IP
  20. Sirago

    Sirago Member

    Messages:
    31
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #20
    They both work.. but this may have been a DNS issue for future reference.
     
    Sirago, Jul 21, 2010 IP