Cov blogger feem ntau yeej paub dab tsi robots.txt thiab vim li cas koj xav tau cov ntaub ntawv no. Tab sis ob peb tus sau tam sim ntawd maj tsim lub rhawv robots.txt tom qab kev txhim kho blog ntawm WordPress.
Robots.txt yog cov ntawv ntim cov ntawv xa mus rau lub hauv paus chaw ntawm koj lub xaib thiab muaj cov lus qhia rau kev nkag. Lub hom phiaj tseem ceeb ntawm nws qhov kev siv yog txwv tsis pub muaj kev ntsuas ntawm txhua nplooj ntawv thiab ntu ntawm lub xaib. Txawm li cas los xij, siv robots.txt, koj tseem tuaj yeem hais qhia qhov tseeb ntawm daim iav sau, qhia txog txoj hauv kev ntawm lub sitemap, thiab lwm yam.
Cov neeg tshawb nrhiav niaj hnub no tau kawm los qhia txog kev nyiam cov CMS zoo thiab feem ntau tsis txhob sim ntsuas cov ntsiab lus uas tsis yog npaj rau qhov no. Piv txwv, Google yuav tsis ntsuas koj qhov WordPress blog admin cheeb tsam txawm tias koj tsis qhia nws ncaj qha rau hauv robots.txt. Txawm li cas los xij, hauv qee kis, kev siv cov kev txwv ncaj qha tuaj yeem tseem muaj txiaj ntsig zoo. Thiab peb tab tom hais lus feem ntau ntawm kev txwv tsis pub theej tawm cov ntsiab lus.
Qee tus webmasters mus kom deb li deb tau txwv tsis pub muaj kev ntsuas ntawm qeb thiab nplooj ntawv nplooj, txij li lawv cov ntsiab lus ib nrab theej tawm cov ntsiab lus ntawm nplooj ntawv tseem ceeb. Tab sis feem ntau tsuas yog txwv rau txwv tsis pub trackback thiab pub cov nplooj ntawv, uas ua tiav cov ntawv luam tawm cov ntsiab lus thiab tsis tau npaj rau cov kev tshawb fawb ntawm txhua. Xws li kev ceev faj yuav tsis tsuas yog ua rau lub xaib cov txiaj ntsig "huv", tab sis tseem txuag koj ntawm kev tshawb nrhiav kev tshawb nrhiav tau, tshwj xeeb yog tom qab kev qhia tshiab ntawm Google Panda algorithm.
Ntawm no yog cov lus qhia kom pom zoo rau cov ntawv robots.txt (nws yuav ua haujlwm rau yuav luag txhua lub sijhawm blog WordPress):
Tus Neeg Siv Khoom Siv: * Tsis Txaus: / wp-login.php Disallow: /wp-register.php Disallow: /xmlrpc.php Disallow: / wp-admin Disallow: / wp-including Disallow: / wp-content / plugins Tsis Pub: / wp-cov ntsiab lus / cache Disallow: / wp-content / themes Disallow: / trackback / Disallow: / feed / Disallow: * / trackback / Disallow: * / pub /
Thov nco ntsoov tias nyob rau hauv robots.txt cov chaw tuav tswj wp-admin thiab wp-suav nrog yog kaw tag rau kev ntsuas kev ua haujlwm. Wp-cov ntawv tais ceev tseg tsuas yog qee tus kaw, vim nws muaj cov ntawv uploads, uas muaj txhua cov duab los ntawm koj qhov blog uas yuav tsum tau ntsuas.
Txhua yam koj yuav tsum tau ua yog luam cov lus qhia los ntawm cov cai saum toj no (nco ntsoov tias txhua daim ntawv qhia yuav tsum tau sau rau ntawm kab tshiab), khaws cia rau hauv cov ntawv sau hu ua robots.txt, thiab muab xa mus rau hauv cov ntawv qhia hauv paus ntawm koj lub xaib.
Koj ib txwm tuaj yeem kuaj xyuas seb robots.txt ua haujlwm tau zoo los ntawm Google Webmaster Tools thiab Yandex Webmaster cuam tshuam.