Thaum kawg, Nws Lub Sij Hawm Rov So Koj WWW

www

Cov chaw zoo li peb li uas tau nyob ib puag ncig rau ib xyoo caum tau nce qib nyob rau cov nplooj ntawv uas tau txhawb lub tsheb tsis ntseeg lub xyoo. Raws li nrog feem ntau cov chaw, peb tus sau yog www.martech.zone. Xyoo tsis ntev los no, tus www tau dhau los ua qhov tsis zoo ntawm cov chaw… tab sis peb tau khaws peb tus kheej vim tias subdomain muaj ntau txoj cai nrog kev tshawb nrhiav xyaw.

Txog tam sim no!

Moz muaj qhov zoo ntawm kev hloov pauv nrog 301 Rov Qab tias Google tau tshaj tawm uas tau pab nrhiav cov chaw tshawb nrhiav-centric tswj lawv txoj cai thaum hloov kho lawv lub xaib qhov chaw. Qhov ob uas yog qhov tseem ceeb, hauv kuv lub tswv yim, yog:

  • SSL - Google lawm txhawb cov vev xaib mus ruaj ntseg thiab tshaj tawm yuav tsis muaj kev cuam tshuam hauv kev rov qab http rau https. Yog tias koj tab tom lees txais qee yam ntaub ntawv ntawm koj lub xaib, Kuv xav txhawb koj kom txav mus los ib yam.
  • 301 Rov Qab - Gary Illyes tshaj tawm tias 3xx redirects tsis poob txoj cai. Yog li, nws yog lub sijhawm los so haujlwm ntawd www subdomain thiab thawb koj cov tsheb khiav mus rau koj lub npe. Tam sim no peb cia li martech.zone tsis muaj qhov www!

ZOS 301

Lub sijhawm no yog lub sijhawm zoo rau so haujlwm rau tus laus ntawd www thiab niaj hnub ua qhov chaw nyob ntawm koj tus xaib. Peb twb tau ua nws ntawm Martech thiab peb chaw ua hauj lwmCov. Peb tseem yuav yob cov kev hloov pauv no rau peb cov neeg tau txais txiaj ntsig tom qab tau hloov pauv thiab sim nws nrog peb tus kheej cov chaw thiab tsis pom muaj kev puas tsuaj hauv qeb duas.

Apache .htaccess Hloov mus rau www rau tsis-www

Yog tias koj tab tom khiav lub vev xaib zoo li WordPress ntawm Apache thiab tuaj yeem hloov kho thiab ntxiv cov kev cai rau koj .htaccess ntawv, ntawm no yog qhov snippet rau 301 redirect (nrog https):

RewriteEngine On RewriteCond% {HTTPS} tawm [OR] RewriteCond% {HTTP_HOST}! ^ Www \. [NC] RewriteCond% {HTTP_HOST} ^ (?: Www \.)? (. +) $ [NC] RewriteRule ^ https: //www.%1% {REQUEST_URI} [L, NE, R = 301]

Tsis txhob hnov ​​qab Webmasters

Ib qho sau tseg ntawm qhov no, tsis txhob hnov ​​qab hloov kho koj li Chaw Hauv Chaw on Kev Tshawb Nrhiav Kev Tshawb Fawb Google qhia kom paub lub npe nyiam. Sau npe ob tus www thiab tsis-www version ntawm koj sau nrog Webmasters, tom qab ntawd nyem rau iav ntaub ntawv thiab xaiv qhov tsis-www version.

ib saib

  1. 1

    Raws li ib txwm muaj, Lub Lag Luam Tshaj Lij Tshaj Tawm Blog yog qhov chaw rau qhov uas kuv yuav tsum ua kom zoo tshaj plaws nyob ntawm kuv qhov kev ua lag luam! Tsaug rau cov ntaub ntawv!

Yuav ua li cas koj xav hais tias?

Qhov Web site no siv Akismet los txo cov kev pabcuam. Kawm li cas koj cov ntaub ntawv tawm tswv yim tiav.