Gaskiya Yana da Matsala: www ko ba www ba

www

Shin kun san cewa www da gaske kawai wani yanki ne? Yana da. Kuma ƙananan yankuna suna amfani da ikon kansu tare da injunan bincike!

Duk da yake www ya kasance sananne a ko'ina cikin World Wide Web, a zamanin yau kamfanoni da yawa suna faduwa akan babban shafin su kuma suna jera adireshin su kamar http://yourdomain.com. Hakan yayi kyau, amma matsalar ita ce yawancin kamfanoni sun fara shafin su kuma zaka iya isa ga shafin tare da ko ba tare da www ba. Idan baƙi zasu iya yin hakan, to injunan bincike zasu iya… kuma ingantawarku na iya zama ta hanyar shi.

Matsalar tana hannun hukuma. Yayinda rukunin yanar gizonku ya zama sananne kuma latsawa suna nuna shi, labaran labarai suna nuna shi, kuma rubutun blog suna nuna shi, yankinku (ko subdomain) yana ƙaruwa cikin shahara. Waɗannan hanyoyin haɗin yanar gizon suna gina ikon rukunin yanar gizon ku kuma, a ƙarshe, matsayin ku akan injunan bincike. Saboda wannan, yana da mahimmanci ku zaɓi hanya kuyi tafiya da ita!

Shafin Farko na Google ba ka damar zaɓar wane sigar ne fĩfĩta - ko hanyar canonical:

masu kulla da shafuffukan yanar gizo sun fi son yanki

Zabi cikin hikima ka tsaya tare da shi! Bude Yanar Gizo zai iya samar maka da wacce hanya ce ta fi iko. Ya kamata ka zaɓi hanyar da ke da mafi iko kuma ka tura dayan hanyar zuwa gare shi.

ikon yanki

Wannan juyawa yana da sauki. Idan kana kan sabar Apache, zaka iya gyara fayil din ka .htaccess sannan ka kara turawa. Neman 301 yana gaya wa injunan bincike su kuma tura ikon zuwa waccan hanyar:

Canza wuri zuwa www ba www:

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

Canza wuri ba www ba zuwa www:

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

Hakanan zaku so tabbatar da cewa tsarin kula da abun cikinku ya sami yanki yadda yakamata, harma da kowane nassoshi a cikin CSS ɗinku, fayil ɗinku na robots.txt, taswirar gidan yanar gizonku, da sauransu. jingina, rubutun blog, fitowar manema labarai, katunan kasuwanci, da dai sauransu suna nuna hanyar da aka fi so. Kara karantawa game da zabi yankin da aka fi so a Taimakon Google.

Me kuke tunani?

Wannan shafin yana amfani da Akismet don rage spam. Koyi yadda aka sarrafa bayanan bayaninka.