Kunendaba Ngempela: www noma non-www

www

Ubuwazi ukuthi i-www empeleni iyisizinda esingezansi nje? Ikona. Futhi ama-subdomain empeleni azitholela igunya lawo ngezinjini zokusesha!

Ngenkathi i-www yayijwayelekile endaweni yonke ye- iwebhu yomhlaba jikelele, kulezi zinsuku izinkampani eziningi ziyayilahla kusayithi yazo eyinhloko futhi zifaka nje ohlwini lwamakheli azo njenge http://yourdomain.com. Kulungile, kepha inkinga ukuthi izinkampani eziningi ziqala isiza sazo futhi ungafika kusayithi nge-www noma ngaphandle kwayo. Uma izivakashi zingakwenza lokho, izinjini zokucinga zingakwazi… nokwenza kwakho okuhle kungasuswa yikho.

Inkinga ilele egunyeni. Njengoba isayithi lakho lithandwa futhi ukukhishwa kwabezindaba kukhomba kulo, izindatshana zezindaba zikhomba kulo, futhi okuthunyelwe kwebhulogi kukhomba kulo, isizinda sakho (noma isizinda) sikhula ngokuthandwa. Lezo zixhumanisi zakha igunya lesiza sakho futhi, ekugcineni, isikhundla sakho kuzinjini zokusesha. Ngenxa yalokhu, kubalulekile ukuthi ukhethe indlela bese ugijima ngayo!

I-Google Search Console ikuvumela ukuthi ukhethe ukuthi iyiphi inguqulo eyi- ayethanda - noma indlela ye-canonical:

abaphathi bewebhu bakhetha isizinda

Khetha ngokuhlakanipha bese unamathela kuso! Vula i-Explorer Site ingakunikeza ukuthi iyiphi indlela enegunya elikhulu. Kufanele ukhethe indlela enegunya elikhulu futhi uqondise enye indlela eya kuyo.

igunya lesikhulu

Lokhu kuqondiswa kabusha kulula. Uma uku-server ye-Apache, ungaguqula ifayela lakho le-.htaccess bese ungeza ukuqondisa kabusha. Ukuqokwa okungama-301 kutshela izinjini zokusesha ukuthi nazo zicindezele igunya kuleyo ndlela:

Qondisa kabusha i-www kokungeyona i-www:

Phinda ubhale i-Engine ku-RewriteBase / RewriteCond% {HTTP_HOST} ^ www.yourdomain.com [NC] Phinda ubhale iRule ^ (. *) $ Http://yourdomain.com/$1 [L, R = 301]

Qondisa kabusha okungeyona i-www ku-www:

Phinda ubhaleEngine Ku-RewriteBase / RewriteCond% {HTTP_HOST} ^ yourdomain.com [NC] RewriteRule ^ (. *) $ Http://www.yourdomain.com/$1 [L, R = 301]

Uzophinde ufune ukuqinisekisa ukuthi uhlelo lwakho lokuphathwa kokuqukethwe lunesizinda esisethwe kahle, kanye nanoma yiziphi izinkomba ezikwi-CSS yakho, ifayela lakho le-robots.txt, imephu yakho yesayithi, njll. isibambiso, okuthunyelwe kwebhulogi, ukukhishwa kwabezindaba, amakhadi ebhizinisi, njll. khomba indlela oyithandayo. Funda kabanzi mayelana ukukhetha isizinda esincanyelwayo ku-Google Help.

UCABANGANI?

Le sayithi isebenzisa i-Akismet ukunciphisa ugaxekile. Funda ukuthi idatha yakho yokuphawula isetshenziswa kanjani.