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

my site get index with www or non www

Discussion in 'White Hat SEO' started by abhishek11497, Jul 21, 2016.

  1. abhishek11497

    abhishek11497 Newbie

    Joined:
    Jul 15, 2016
    Messages:
    16
    Likes Received:
    1
    Gender:
    Male
    Occupation:
    SEO
    Location:
    India
    i created a website and now it`s index by google. but when i search my website on google there are two webpage 1st with www or 2nd with non www. now what should i do for remove other page.

    here the link of my web page :- http://www.onlineseowebworld.comli.com/
     
  2. Peter Ngo

    Peter Ngo Jr. VIP Jr. VIP

    Joined:
    Apr 23, 2013
    Messages:
    2,099
    Likes Received:
    1,687
    Occupation:
    I browse BHW for a living
    Location:
    The Internet
    No need to remove it, just redirect from www to non www or vice versa.
     
    • Thanks Thanks x 2
  3. gcantin85

    gcantin85 Junior Member

    Joined:
    Mar 12, 2016
    Messages:
    118
    Likes Received:
    7
    There's a code for it. Canonanical.
     
    • Thanks Thanks x 1
  4. mbreezy

    mbreezy Jr. VIP Jr. VIP

    Joined:
    Jun 27, 2012
    Messages:
    488
    Likes Received:
    162
    Should be able to create a rule in your server side .htaccess file (if you've got one). Force all bots/browsers to hit www/non-www/https and etc. Pick the correct format of your URL and implement. Then make sure everything is lined back up in your Google Analytics and other tracker. Also make sure you have all versions of your domain registered and the preferred version set in Search Console.
     
    • Thanks Thanks x 1