Nws Tiag Puas Tseem Ceeb: www lossis tsis-www

www

Koj puas paub tias www yog tiag tiag tsuas yog ib tus subdomain? Nws yog. Thiab subdomains ua tau garner lawv tus kheej txoj cai nrog kev tshawb nrhiav tshuab!

Thaum www tau muaj nyob thoob plaws qhov ntiaj teb dav Web site, tam sim no muaj ntau lub tuam txhab tab tom poob nws ntawm lawv tus xaib thiab tsuas yog teev lawv qhov chaw nyob raws li http://yourdomain.comCov. Qhov ntawd zoo, tab sis qhov teeb meem yog tias feem ntau cov tuam txhab pib lawv qhov chaw thiab koj tuaj yeem mus rau qhov chaw nrog lossis tsis tau www. Yog tias cov qhua tuaj yeem ua qhov ntawd, tom qab ntawv tshawb nrhiav tuaj yeem ... thiab koj qhov kev ua kom zoo dua tuaj yeem ntseeg.

Qhov teeb meem nyob rau hauv txoj cai. Raws li koj lub vev xaib dhau los ua neeg nyiam thiab xov xwm tawm mus rau nws, cov ntawv xov xwm taw tes rau nws, thiab cov ntawv xov xwm blog taw tes rau nws, koj qhov chaw sau (lossis subdomain) loj hlob hauv qhov muaj koob meej. Cov kev sib txuas tsim tsa txoj cai ntawm koj lub xaib thiab, thaum kawg, koj qhov qeb duas ntawm ntawm kev tshawb fawb. Vim tias qhov no, nws yog qhov tseem ceeb uas koj xaiv txoj kev thiab khiav nrog nws!

Kev Tshawb Nrhiav Kev Tshawb Fawb Google tso cai rau koj xaiv cov version twg yog qhov nyiam - lossis canonical txoj kev:

webmasters nyiam sau

Xaiv cov ntse thiab lo nrog nws! Qhib Site Explorer tuaj yeem muab txoj hauv kev rau koj uas yog txoj cai tshaj plaws. Koj yuav tsum xaiv txoj hauv kev uas muaj qhov muaj zog tshaj plaws thiab rov ua lwm txoj hauv kev rau nws.

sau cai

Txoj kev hloov pauv no yog yooj yim haum. Yog tias koj nyob ntawm Apache server, koj tuaj yeem hloov kho koj cov ntaub ntawv .htaccess thiab ntxiv rau kev hloov pauv. Lub 301 kev qhia paub cov tshawb fawb lub tshuab tseem thawb txoj cai hauv qhov kev taw qhia:

Xa mus rau www rau tsis-www:

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

Thim tsis-www rau www:

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

Koj tseem yuav xav kom ntseeg tau tias koj cov kev tswj hwm cov ntsiab lus muaj lub npe teeb tsa kom raug, nrog rau kev xa mus rau hauv koj cov CSS, koj cov ntawv robots.txt, koj tus sitemap, thiab lwm yam Thiab kom paub tseeb tias koj lub chaw tswj hwm tshaj tawm cov khoom lag luam, collateral, blog cov ntawv tshaj tawm, ntawv tshaj tawm, daim npav ua lag luam, thiab lwm yam taw tes rau txoj hauv kev nyiam. Nyeem ntxiv txog xaiv tus sau xaj ntawm Google Kev Pab.

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.