Zilidi Zofunika: www kapena non-www

www

Kodi mumadziwa kuti www kwenikweni ndi subdomain chabe? Ndi. Ndipo ma subdomain amakonzekereratu ulamuliro wawo ndi ma injini osakira!

Pomwe www inali malo wamba mu ukonde wapadziko lonse lapansi, masiku ano makampani ambiri akuwasiya patsamba lawo lenileni ndikungolemba adilesi yawo monga http://yourdomain.com. Zili bwino, koma vuto ndiloti makampani ambiri amayamba tsamba lawo ndipo mutha kupita kutsambali ndi www. Ngati alendo atha kuchita izi, makina osakira atha….

Vuto lagona paulamuliro. Tsamba lanu likayamba kutchuka ndikutulutsa atolankhani kuloza ku izo, nkhani zanthambi zimaloza kwa izo, ndipo zolemba pamabulogu zoloza kwa izo, tsamba lanu (kapena subdomain) limakula ndikutchuka. Maulalo amenewo amapangira mphamvu kutsamba lanu ndipo, pamapeto pake, masanjidwe anu pamakina osakira. Chifukwa cha izi, ndikofunikira kuti musankhe njira ndikuyendetsa nayo!

Google Search Console imakupatsani mwayi wosankha mtundu wa adalipo - kapena njira yovomerezeka:

oyang'anira masamba awebusayiti amakonda

Sankhani mwanzeru ndikumamatira! Tsegulani Site Explorer Angakupatseni njira yomwe ili ndiulamuliro kwambiri. Muyenera kusankha njira yomwe ili ndiulamuliro kwambiri ndikuwongolera njira ina.

ulamuliro wa chigawo

Kuwongolera kumeneku ndikosavuta. Ngati muli pa seva ya Apache, mutha kusintha fayilo yanu ya .htaccess ndikuwonjezeranso kwina. Mayina 301 amauza makina osakira kuti nawonso akakamize olamulirawo kuti:

Yendetsani www kwa osakhala www:

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

Kutumizirani non-www kuti www:

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

Mudzafunanso kuwonetsetsa kuti makina anu azoyang'anira akukhazikitsidwa bwino, komanso maumboni aliwonse mu CSS yanu, fayilo yanu ya robots.txt, sitemap yanu, ndi zina zambiri. Ndipo onetsetsani kuti dipatimenti yanu yotsatsa imasindikiza chizindikiro chilichonse, chikole, zolemba pamabulogu, zofalitsa, makhadi abizinesi, ndi zina zambiri kuloza njira yomwe mungakonde. Werengani zambiri za kusankha malo omwe mumakonda pa Google Thandizo.

Mukuganiza chiyani?

Tsambali likugwiritsa ntchito Akismet kuchepetsa spam. Phunzirani momwe deta yanu ikufotokozera.