Activity Stream
48,167 MEMBERS
61932 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Page 1 of 2 12 LastLast
Results 1 to 10 of 16
  1.     
    #1
    Member
    Website's:
    EliteNerds.org iTuts.org MadScene.org GW2Jerks.com

    Default Google indexes my website twice..why?

    Hello guys,

    for some reason google indexes my website twice. What i mean by that is that it indexes a domain.com version and a www.domain.com version! (Why!?)

    In webmaster tools, i have added both versions (www.domain.com and domain.com) and i have set the preferred domain to be the one with the www. in front!

    Whats going wrong?
    gmaister22 Reviewed by gmaister22 on . Google indexes my website twice..why? Hello guys, for some reason google indexes my website twice. What i mean by that is that it indexes a domain.com version and a www.domain.com version! (Why!?) In webmaster tools, i have added both versions (www.domain.com and domain.com) and i have set the preferred domain to be the one with the www. in front! Whats going wrong? :S Rating: 5
    ? GW2Jerks.com ? :: Your #1 Guild Wars 2 Fansite - Info Hub Community
    News, Media, Guides, Forums and much more!
    ? Looking for Moderators & Global Moderators ? (PM Me)

  2.   Sponsored Links

  3.     
    #2
    ψ(`∇?)ψ
    is your website wordpress based? check these in general section:

  4.     
    #3
    Respected Developer
    just use one URL, with or without www. Google sees them as being two different addresses. It can effect your ranking. search on google your term "with or without www" you will find a lot of related articles.
    .
    Bots Development | Web Development | Wordpress Customization | PSD Conversion

    Life has many twists and turns in it, you have to take what you are given and use it for the best.

  5.     
    #4
    Member
    Website's:
    EliteNerds.org iTuts.org MadScene.org GW2Jerks.com
    yes what can how can i fix it now?

    it appears like that on google
    ? GW2Jerks.com ? :: Your #1 Guild Wars 2 Fansite - Info Hub Community
    News, Media, Guides, Forums and much more!
    ? Looking for Moderators & Global Moderators ? (PM Me)

  6.     
    #5
    Member
    Website's:
    EliteNerds.org iTuts.org MadScene.org GW2Jerks.com
    Quote Originally Posted by mRAza View Post
    just use one URL, with or without www. Google sees them as being two different addresses. It can effect your ranking. search on google your term "with or without www" you will find a lot of related articles.
    .
    somebody told me that

    because both of them are returning a 200 ok.

    you need to 301 redirect one to the other, pick a preferred version. OR at the very least, use rel=canonical meta tags.
    ? GW2Jerks.com ? :: Your #1 Guild Wars 2 Fansite - Info Hub Community
    News, Media, Guides, Forums and much more!
    ? Looking for Moderators & Global Moderators ? (PM Me)

  7.     
    #6
    Respected Developer
    add this line in .htaccess of your root folder, it will redirect all www to non-www
    PHP Code: 
    RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
    RewriteRule ^(.*)$ http://%1/$1 [R=301,L] 
    or if you wants with www in URL
    PHP Code: 
    RewriteCond %{HTTP_HOST} ^[^.]+\.[^.]+$
    RewriteRule ^(.*) http://www.%{HTTP_HOST}/$1 [R=301] 
    Bots Development | Web Development | Wordpress Customization | PSD Conversion

    Life has many twists and turns in it, you have to take what you are given and use it for the best.

  8.     
    #7
    Member
    Website's:
    EliteNerds.org iTuts.org MadScene.org GW2Jerks.com
    mRAza i have done that in my cPanel, have a look:
    ? GW2Jerks.com ? :: Your #1 Guild Wars 2 Fansite - Info Hub Community
    News, Media, Guides, Forums and much more!
    ? Looking for Moderators & Global Moderators ? (PM Me)

  9.     
    #8
    Respected Developer
    well i have not used cpanel much so i am not sure how it works but by look of your image i think you need to give just www.domain.com not complete URL http://www.domain.com/ in Redirect Url field.
    Bots Development | Web Development | Wordpress Customization | PSD Conversion

    Life has many twists and turns in it, you have to take what you are given and use it for the best.

  10.     
    #9
    Member
    Website's:
    EliteNerds.org iTuts.org MadScene.org GW2Jerks.com
    i get
    ? GW2Jerks.com ? :: Your #1 Guild Wars 2 Fansite - Info Hub Community
    News, Media, Guides, Forums and much more!
    ? Looking for Moderators & Global Moderators ? (PM Me)

  11.     
    #10
    Respected Developer
    ok then i am not sure about cpanel, might some other cpanel user can help you, else you can always add code in your htaccess i provided above.
    Bots Development | Web Development | Wordpress Customization | PSD Conversion

    Life has many twists and turns in it, you have to take what you are given and use it for the best.

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Website Showing Up on Google
    By RNBxBeatz in forum Webmaster Resources
    Replies: 5
    Last Post: 11th Nov 2012, 01:17 PM
  2. [Selling] 300 Google +1 Service For your Website/Website Pages
    By pappunsu in forum Completed Transactions
    Replies: 60
    Last Post: 21st Jul 2011, 01:00 PM
  3. Google Analytics | 1 website with 2 TLD
    By gmaister22 in forum Technical Help Desk Support
    Replies: 0
    Last Post: 4th Feb 2011, 04:44 AM
  4. Google PR website ad content
    By snash in forum Webmaster Discussion
    Replies: 1
    Last Post: 5th Apr 2010, 06:02 AM

Tags for this Thread

BE SOCIAL