1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

why is my site urlexmaple.com indexing but www.url.com isnot

Discussion in 'White Hat SEO' started by Brink, May 11, 2013.

  1. Brink

    Brink Junior Member

    Joined:
    Dec 9, 2011
    Messages:
    101
    Likes Received:
    29
    I cant figure out why my site with the www. is not indexing but without www. is indexing. Do I have to submit both to the SE?
     
  2. sirblack

    sirblack Newbie

    Joined:
    May 11, 2013
    Messages:
    20
    Likes Received:
    1
    need to be setted in Google webmaster tools. :D
     
  3. Gogol

    Gogol Elite Member

    Joined:
    Sep 10, 2010
    Messages:
    3,066
    Likes Received:
    2,872
    Gender:
    Male
    You don't need webmaster for this. You need to permanently redirect all requests for the domain.tld to www.domain.tld using htaccess.
     
    • Thanks Thanks x 1
  4. orzyman

    orzyman Senior Member

    Joined:
    May 22, 2011
    Messages:
    808
    Likes Received:
    197
    Occupation:
    http://i.imgur.com/0aNSa.gif
    Location:
    in your mind
    because google see them as both different domains and what the others said
     
    • Thanks Thanks x 1
  5. Techxan

    Techxan Elite Member

    Joined:
    Dec 7, 2011
    Messages:
    3,093
    Likes Received:
    3,585
    Occupation:
    Local SEOist
    Location:
    TEXAS (you have to yell, its the law.)
    And it is probably giving you a duplicate content penalty on those pages too, holding down their ranking
     
    • Thanks Thanks x 2
  6. internetlol

    internetlol Regular Member

    Joined:
    Feb 11, 2013
    Messages:
    251
    Likes Received:
    47
    Location:
    Houston, tx
    is this even important...?
     
  7. Gogol

    Gogol Elite Member

    Joined:
    Sep 10, 2010
    Messages:
    3,066
    Likes Received:
    2,872
    Gender:
    Male
    Pretty much! If both the versions get indexed, you get penalized for dups...
     
    • Thanks Thanks x 1
  8. Brink

    Brink Junior Member

    Joined:
    Dec 9, 2011
    Messages:
    101
    Likes Received:
    29
    Is there a way of doing this quickly? and or is there a way of just having Google recognize they are the same page other then doing a redirect?
     
  9. Brink

    Brink Junior Member

    Joined:
    Dec 9, 2011
    Messages:
    101
    Likes Received:
    29
    For instance if I change the apache like such?

    Code:
    [FONT=Arial][SIZE=1][COLOR=#444444][COLOR=#444444][FONT=Arial]   ScriptAlias    /cgi-bin/     "/home/shopbri/www/cgi-bin/"[/FONT][/COLOR][/COLOR][/SIZE][/FONT]     [FONT=Arial][SIZE=1][COLOR=#444444][COLOR=#444444][FONT=Arial]    <Directory /home/shopbri/www/cgi-bin>[/FONT][/COLOR][/COLOR][/SIZE][/FONT]
         [FONT=Arial][SIZE=1][COLOR=#444444][COLOR=#444444][FONT=Arial]        AllowOverride All[/FONT][/COLOR][/COLOR][/SIZE][/FONT]
         [FONT=Arial][SIZE=1][COLOR=#444444][COLOR=#444444][FONT=Arial]        Options ExecCGI[/FONT][/COLOR][/COLOR][/SIZE][/FONT]
         [FONT=Arial][SIZE=1][COLOR=#444444][COLOR=#444444][FONT=Arial]        Order allow,deny[/FONT][/COLOR][/COLOR][/SIZE][/FONT]
         [FONT=Arial][SIZE=1][COLOR=#444444][COLOR=#444444][FONT=Arial]        Allow from all[/FONT][/COLOR][/COLOR][/SIZE][/FONT]
         [FONT=Arial][SIZE=1][COLOR=#444444][COLOR=#444444][FONT=Arial]    </Directory>[/FONT][/COLOR][/COLOR][/SIZE][/FONT]
         [FONT=Arial][SIZE=1][COLOR=#444444][COLOR=#444444][FONT=Arial]======================================[/FONT][/COLOR][/COLOR][/SIZE][/FONT]
         [FONT=Arial][SIZE=1][COLOR=#444444][COLOR=#444444][FONT=Arial] [/FONT][/COLOR][/COLOR][/SIZE][/FONT]
         [FONT=Arial][SIZE=1][COLOR=#444444][COLOR=#444444][FONT=Arial] [/FONT][/COLOR][/COLOR][/SIZE][/FONT]
         [FONT=Arial][SIZE=1][COLOR=#444444][COLOR=#444444][FONT=Arial]==========Other domains==============[/FONT][/COLOR][/COLOR][/SIZE][/FONT]
         [FONT=Arial][SIZE=1][COLOR=#444444][COLOR=#444444][FONT=Arial]    Alias          /cgi-bin /dev/null[/FONT][/COLOR][/COLOR][/SIZE][/FONT]
         [FONT=Arial][SIZE=1][COLOR=#444444][COLOR=#444444][FONT=Arial]    Options        -ExecCGI[/FONT][/COLOR][/COLOR][/SIZE][/FONT]
    
    
     
  10. Brink

    Brink Junior Member

    Joined:
    Dec 9, 2011
    Messages:
    101
    Likes Received:
    29
  11. moneyandhotgayguys

    moneyandhotgayguys Registered Member

    Joined:
    Oct 27, 2009
    Messages:
    89
    Likes Received:
    6
    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^www.d.com$
    RewriteRule ^(.*)$ http://d.com/$1 [R=301,L]
     
  12. VinceC

    VinceC Elite Member

    Joined:
    Jun 8, 2008
    Messages:
    1,616
    Likes Received:
    728
    during backlinking, just use url without www that's what i been doing
     
  13. Brink

    Brink Junior Member

    Joined:
    Dec 9, 2011
    Messages:
    101
    Likes Received:
    29
    do i have to change the www.d.com to mydomain?
     
  14. Brink

    Brink Junior Member

    Joined:
    Dec 9, 2011
    Messages:
    101
    Likes Received:
    29
    anyone?
    and which was is that pointing? I want the www. to point to the non www.
     
  15. Gogol

    Gogol Elite Member

    Joined:
    Sep 10, 2010
    Messages:
    3,066
    Likes Received:
    2,872
    Gender:
    Male
    The code below is your solution. Replace d.com with your domain.




    EDIT: LOL sorry you need to do the complete opposite for indexing your www domain instead of non www domain.. e.g.

    Code:
    RewriteCond %{HTTP_HOST} ^example\.com$ [NC] 
    RewriteRule ^(.*)$ http://www.example.com/$1 [R=301,L]

    Hope it helps
     
    • Thanks Thanks x 1
    Last edited: Jun 11, 2013
  16. Brink

    Brink Junior Member

    Joined:
    Dec 9, 2011
    Messages:
    101
    Likes Received:
    29
    Thanks to GOGOi

    Figured it out.
    For anyone later who might be as stupid as me.

    Yes Ofcourse you have to change the domain to match your domain.
    As it is currently setup it will redirect to the NON www.
     
    • Thanks Thanks x 1