WWW VS Non WWW , Mana lebih bagus ?

Discussion in 'Search Engine Optimization' started by Fahmi, Mar 31, 2013.

  1. Fahmi

    Fahmi Newbie

    Joined:
    Dec 5, 2012
    Messages:
    1,719
    Likes Received:
    159
    Trophy Points:
    63
    Google+:
    sebelumnya ada yg pernah menanyakan hal ini , tapi untuk drupal saja.. https://www.bersosial.com/topic/111/www-dan-tanpa-www
    nah kali ini sy ingin menanyakan hal ini pada mastah2, lebih bagus mana untuk SEO = menggunakan WWW atau Non WWW ?

    terima kasih,
     
  2. Dan

    Dan Forum Bot

    Joined:
    Dec 4, 2012
    Messages:
    1,316
    Likes Received:
    257
    Trophy Points:
    83
    Google+:
    Sama saja mau itu www ataupun

    Sama saja mau itu www ataupun non www asal sudah diredirect 301 *keren1*
     
  3. Fahmi

    Fahmi Newbie

    Joined:
    Dec 5, 2012
    Messages:
    1,719
    Likes Received:
    159
    Trophy Points:
    63
    Google+:
    ooh jadi sama aja yaah,,

    ooh jadi sama aja yaah,, mungkin untuk user yang direct aja kali yaah,, kebanyakan taunya kan standard pakai www, ya itu jadi fungsinya redirect 301
     
  4. wphoet

    wphoet You'll Never Walk Alone

    Joined:
    Feb 19, 2013
    Messages:
    1,149
    Likes Received:
    142
    Trophy Points:
    63
    Google+:
    jadi kyk gini, buat contoh

    jadi kyk gini, buat contoh doank: blogger di ugrade ke domain otomatis kudu diredirect permanen supaya kl ada yg akses menuju blogspot langsung teredirect ke domain (contoh ada yg akses pakai url www.kurakura.blogspot.com otomatis keredirect ke www.kurakura.com) nah prinsipnya sama dgn www dan non www, kadang ada user yg males nulis www di url addres misal kurakura.com, kl sdh diredirect otomatis ke www.kurakura.com *merokok2* (hehehe..sok ngajarin, padahal saya juga baru tanya mas DAN bbrp hari kemarin gara2 atom.xml punyaku belum kebaca di domain, yg di www kebaca yg tanpa www blm keredirect) *malu1* peace :D *ketawa4*
     
  5. samuel

    samuel Member

    Joined:
    Feb 5, 2013
    Messages:
    478
    Likes Received:
    15
    Trophy Points:
    18
    Google+:
    Code

    Code:
    # If your site can be accessed both with and without the 'www.' prefix, you
      # can use one of the following settings to redirect users to your preferred
      # URL, either WITH or WITHOUT the 'www.' prefix. Choose ONLY one option:
      #
      # To redirect all users to access the site WITH the 'www.' prefix,
      # (http://example.com/... will be redirected to http://www.example.com/...)
      # uncomment the following:
      RewriteCond %{HTTP_HOST} !^www\. [NC]
      RewriteRule ^ http://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
      #
      # To redirect all users to access the site WITHOUT the 'www.' prefix,
      # (http://www.example.com/... will be redirected to http://example.com/...)
      # uncomment the following:
      # RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
      # RewriteRule ^ http://%1%{REQUEST_URI} [L,R=301]
    
    kalo Redirect pake htt access gitu , udh bagus apa belum mas Dan ?
     
  6. Fahmi

    Fahmi Newbie

    Joined:
    Dec 5, 2012
    Messages:
    1,719
    Likes Received:
    159
    Trophy Points:
    63
    Google+:
    pake code lho jgn pakai quote

    pake code lho jgn pakai quote untuk tempel code bro samuel :) *peace*
     
  7. Dan

    Dan Forum Bot

    Joined:
    Dec 4, 2012
    Messages:
    1,316
    Likes Received:
    257
    Trophy Points:
    83
    Google+:
    Sudah bener

    Untuk redirect non www ke www itu sudah benar *bagus*
     
  8. samuel

    samuel Member

    Joined:
    Feb 5, 2013
    Messages:
    478
    Likes Received:
    15
    Trophy Points:
    18
    Google+:
    fahmi wrote:

    iya saya tau bro , kalo pake qoute untuk tempel code bisa erorr *ketawa4*

    oke , sudah saya terapkan *keren1*
     
  9. Fahmi

    Fahmi Newbie

    Joined:
    Dec 5, 2012
    Messages:
    1,719
    Likes Received:
    159
    Trophy Points:
    63
    Google+:
    yang ini dari html 5

    yang ini dari html 5 boilerplate

    Code:
    # Option 1: rewrite www.example.com ? example.com
    
    <IfModule mod_rewrite.c>
        RewriteCond %{HTTPS} !=on
        RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
        RewriteRule ^ http://%1%{REQUEST_URI} [R=301,L]
    </IfModule>
    
    # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    
    # Option 2: rewrite example.com ? www.example.com
    
    # Be aware that the following might not be a good idea if you use "real"
    # subdomains for certain parts of your website.
    
    # <IfModule mod_rewrite.c>
    #    RewriteCond %{HTTPS} !=on
    #    RewriteCond %{HTTP_HOST} !^www\..+$ [NC]
    #    RewriteRule ^ http://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
    # </IfModule>
    

    option ajah kali kepake juga *peace*
     
  10. IndoCezco

    IndoCezco New Member

    Joined:
    Mar 28, 2013
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    6
    maaf numpang tanya jadi

    maaf numpang tanya jadi maksud dari sebutan "REDIRECT 301" itu adalah pake script diatas gitu? *bingung*
    atau ada artian lain dari "REDIRECT 301" pengen tau *pusing*
     
  11. OAXER

    OAXER Member

    Joined:
    Dec 6, 2012
    Messages:
    250
    Likes Received:
    9
    Trophy Points:
    18
    Dan wrote:

    Gimana kalo dua-duanya (ga redirect 301) ?? .. Apa konsequensinya ?
    maksud saya biar bisa develop situs dg 1 browser ... www buat develop ... non-www buat OL..
     
  12. Ardilas

    Ardilas Super Level

    Joined:
    Feb 18, 2013
    Messages:
    4,243
    Likes Received:
    317
    Trophy Points:
    83
    Google+:
    Kalau lebih simple ya tanpa

    Kalau lebih simple ya tanpa www *pahlawan*
     
  13. satriajogja

    satriajogja Member

    Joined:
    Feb 24, 2013
    Messages:
    348
    Likes Received:
    7
    Trophy Points:
    18
    Ini berkaitan dengan yang

    Ini berkaitan dengan yang namanya canonical itu ya? berarti harus di redirect juga ya kl bikin blog baru antara yg non www dgn yang www?
     
  14. maxmanroe

    maxmanroe Member

    Joined:
    Feb 18, 2013
    Messages:
    353
    Likes Received:
    29
    Trophy Points:
    28
    Google+:
    Wuidih para master pada

    Wuidih para master pada ngumpul nih... muantap *halo*
     
  15. Fahmi

    Fahmi Newbie

    Joined:
    Dec 5, 2012
    Messages:
    1,719
    Likes Received:
    159
    Trophy Points:
    63
    Google+:
    satriajogja wrote:

    tanpa redirect sebenernya bisa pakai canonical, tapi biar lebih konsisten mending pakai redirect + canonical :D

    yoi master *jail* wkwkwk
     
  16. semutkecil

    semutkecil Member

    Joined:
    Apr 11, 2013
    Messages:
    119
    Likes Received:
    1
    Trophy Points:
    18
    Kalau saya suka yang dengan

    Kalau saya suka yang dengan www.
    Kesannya kayak sudah resmi di Internet gitu deh. *bergaya*
    Tapi yang pasti, kalau pakae www maka yang non-www harus di redirect ke www nya.
     
  17. hijabcd

    hijabcd New Member

    Joined:
    Jun 23, 2013
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    6
    Aduh ngak ngerti, nyimak aja

    Aduh ngak ngerti, nyimak aja deh *huh*
     
  18. alfadly

    alfadly Member

    Joined:
    Dec 13, 2013
    Messages:
    53
    Likes Received:
    1
    Trophy Points:
    8
    sama sama bagus asal dah

    sama sama bagus asal dah redirect 301
     
Loading...

Share This Page