Fabrairu 12, 2015

Fahimtar Robots.txt, Inganta Fayil ɗin Robobi akan Blogger da WordPress

Akwai abubuwa da yawa da kuke buƙatar sani da koya a cikin rubutun ra'ayin yanar gizo. Ba zaku taɓa zama cikakke a kowane fanni ba kasancewar akwai manyan abubuwa da yawa waɗanda zaku sani a hanya. Koda ƙananan abubuwa da fayiloli a cikin gidan yanar gizon ku suna da yawa dangane da martabar Google kuma SEO a matsayin duka. Suchaya daga cikin irin wannan shine "robots.txt”Fayil. Da farko, lokacin da na fara rubutun ra'ayin yanar gizo, a zahiri ban san menene wannan fayil ɗin ba da mahimmancin wannan fayil ɗin. Don haka, na yi bincike mai yawa daga tushe daban-daban kuma na fahimci ainihin amfanin sa da yadda yake da mahimmanci a SEO. Yawancin sabbin masu rubutun ra'ayin sabon shiga yanar gizo basu san menene robots.txt ba da kuma amfani da shi, don haka nayi tunanin rubuta cikakken labarin kwatanci akan sa.

robots.txt

Menene fayil ɗin Robots.txt?

Robots.txt ƙaramin fayil ne wanda yake yanzu a tushen rukunin yanar gizonku. Kamar yadda yawancinku kuka sani, masu rarrafe da gizo-gizo suna da alhakin ci gaban ɗaukacin gidan yanar sadarwar. Ainihin, waɗannan masu rarrafe zasu iya hawa cikin kowane shafi ko kowane URL da ke kan yanar gizo, har ma da na sirri kuma bai kamata a shiga su ba.

Baya takurawa mutane samun damar abun cikin ka.

Domin karɓar ragamar fayilolin da kuke son masu sintiri su sami dama da ƙuntatawa, zaku iya jagorantar su ta amfani da fayil ɗin robots.txt Robots.txt ba fayil ɗin html bane, amma gizo-gizo yana yin biyayya ga abin da wannan fayil ɗin yake faɗi. Wannan fayil ɗin ba wani abu bane wanda ke kare rukunin yanar gizon ku kai tsaye daga barazanar waje, amma kawai yana buƙatar ɓoyayyen ɓoye kada su shiga wani yanki na rukunin yanar gizon ku.

A ina kuka sami fayil ɗin robots.txt?

Wurin wannan fayil ɗin yana da matukar mahimmanci ga masu rarrafe su gano shi. Don haka, dole ne ya kasance a cikin babban kundin adireshin yanar gizonku.

http://youdomain.com/robots.txt

Anan ne bots har ma zaku iya samun fayil ɗin kowane gidan yanar gizo. Idan masu rarrafe ba za su sami fayil ɗin a cikin babban kundin adireshin ba, kawai suna ɗauka cewa babu fayil ɗin mutummutumi don gidan yanar gizon kuma a can ta hanyar nuna dukkan shafukan yanar gizon.

Tsarin Basic na Robots.txt fayil

Tsarin fayil ɗin mai sauƙi ne kuma kowane mutum zai iya fahimtarsa ​​a sauƙaƙe. Ya ƙunshi abubuwa 2 kamar wakilin mai amfani da Disallow.

Hadin rubutu:

Mai amfani:

Ba da:

Cikakken Fahimtar kebancewa da Misalai

Da fari dai, ya kamata ka san abin da abubuwan da aka gyara suke nufi daidai kuma menene aikinsu. “Wakilin mai amfani” ita ce kalmar da ake amfani da ita don tantance masu binciken masarrafar binciken, walau yana iya zama Google, Yahoo ko kuma duk wani injin bincike. "Ba da izinin" shine kalmar da ake amfani da ita don lissafin fayiloli ko kundayen adireshi kuma cire su daga jerin abubuwan rarrafe.

Littafin Adireshi ko Keɓe Jaka:

Asalin keɓancewa wanda yawancin shafukan yanar gizo ke amfani dashi shine,

Wakilin mai amfani: *

Ba da izinin: / gwada /

Anan, * yana nuna duk masu binciken injunan bincike. Ba da izinin / gwaji / nuna cewa babban fayil ɗin tare da suna 'gwaji' dole ne a cire shi daga rarrafe.

Keɓe Fayil:

Wakilin mai amfani: *

Ba da izinin: / test.html

Wannan yana nuna cewa duk masu binciken injin binciken baza suyi rarrafe fayil ɗin mai suna 'test.html' ba.

Banda dukkan shafin:

Wakilin mai amfani: *

Kada a yarda: /

Hada dukkan shafin:

Wakilin mai amfani: *

Ba da:

OR

Wakilin mai amfani: *

Bada izini: /

Asance mai rarrafe ɗaya:

Wakilin mai amfani: googlebot

Ba da izinin: / gwada /

Sanya Taswirar Yanar Gizo:

Wakilin mai amfani: *

Ba da izinin: / gwada /

Taswirar Yanar Gizo: http://www.yourdomain.com/sitemap.xml

robots_txt_visual

Yadda za a ƙirƙiri fayil ɗin robots.txt?

Irƙirar fayil ɗin robots.txt abu ne mai sauƙi tunda babu yare ko takamaiman fasaha a nan. Kuna iya yin hakan ta hanyoyi biyu, ɗayan ƙirƙirar hannu ne ɗayan kuma shine ƙirƙirar fayil ɗin ta amfani da kayan aiki.

An tattauna batun ƙirƙirar fayil ɗin a cikin ɓangaren da ke sama, don haka bari mu je amfani da kayan aiki, wanda ya fi sauƙi. Kuna iya amfani da kayan aikin janareto fayil na robots.txt ta SEOBook, Mcanerin, da dai sauransu.

Gwajin robobi.txt fayil.

Fayil ɗin da kuka ƙirƙira na iya yin aiki daidai ko a'a. Domin gwada wannan, zaka iya amfani da kayan aikin gwaji. Kuna iya sauƙaƙe URL zuwa ga kayan aikin gwaji, Kayan aikin yana aiki kamar Googlebot zai bincika ku robots.txt fayil ɗin kuma ya tabbatar cewa an toshe adireshinku da kyau.kayan aikin gwaji

Anan ga wasu matakan da Google ya lissafa don masu gidan yanar gizon, wanda zai taimaka muku gwada fayil ɗin robots.txt ɗin da kuka ƙirƙira:

gwajin

Itayyadaddun fayil ɗin robots.txt:

Kodayake robots.txt wani amintacce ne wanda ya dace idan ya zo ga jagorantar masu rarrafe, har yanzu yana da ƙarancin gazawa ko rashin amfani yayin aiki kusan.

1. Ba za a iya tilasta masu rarrafe ba, ana iya musu jagora ne kawai: Lokacin da muke amfani da fayil din robots.txt don hana wata hanya ko URL, kawai muna neman masu sintiri na yanar gizo ne da kar su nuna wannan URL din ko kuma kundin adireshi amma ba tilasta bots din su juya ba. Kuma duk masanan yanar gizo na iya yin biyayya ga umarnin da aka bayar a cikin wannan fayil ɗin. Don haka don toshe takamaiman URL, za a iya aiwatar da wasu hanyoyi kamar kariya ta kalmar sirri ko amfani da alamun meta waɗanda suka fi inganci da inganci.

2. Fassarar fassarar zai iya bambanta ga kowane mai rarrafe: Haɗin ginin da aka ambata a sama yana da kyau ga matsakaicin adadin masu binciken yanar gizo. Amma kaɗan masu rarrafe na iya fahimtar ma'anar ma'anar ko fassara ta ta wata hanya daban, wanda zai iya jefa ku cikin matsala.

3. Ba za a iya hana bayanai game da URL ɗinku daga wasu rukunin yanar gizo ta hanyar robots.txt: Wannan kusan yana daga cikin manyan rashin fa'idar fayil din robots.txt. Fayil din zai hana masu rarrabuwar Google damar shiga kowane URL na musamman, lokacin da suka shigo kai tsaye cikin shafin. Amma akasin wannan, lokacin da aka tura wannan URL ɗin da kake son toshewa daga wasu rukunin yanar gizon, to, masu rarrafe ba za su hana kansu shiga hanyar haɗin yanar gizon ba, don haka jera adireshin da aka toshe.

Don haka, don hana waɗannan abubuwan faruwa, dole ne ku tafi tare da wasu hanyoyin kariya kamar kalmar sirri kare fayiloli daga uwar garke or ta amfani da meta tags (index, follow) tare da fayil din robots.txt.

Duba abin da Matt Cutts Take akan Inganta robots.txt

Bidiyo YouTube

 Ara Roban na'urori na Musamman.Txt zuwa Blogger

Na riga na rubuta labarin game da abubuwan fifikon injin bincike inda nayi magana game da al'ada robots.txt fayil, a cikin Ci gaba SEO Jagora don Blogger. Gabaɗaya, don mai rubutun ra'ayin yanar gizo fayil ɗin robots.txt yayi kama da wannan:

Wakilin mai amfani: An hana Mediapartners-Google:
Wakilin mai amfani: *
Ba da izinin: / bincika
Bada izini: /
Taswirar Yanar Gizo: https://www.alltechbuzz.net/feeds/posts/default?orderby=UPDATED

Matakan da za a Bi:

  1. Bude dashboard din shafinka.
  2. Nuna zuwa SaitunaNeman Bincike > Crawlers da kuma Indexing > Robobi na al'ada.txt > Shirya> Ee.
  3. Manna lambar robots.txt ɗinka a ciki.
  4. Danna maɓallin Ajiye Canji.

Yadda ake Inganta Robots.txt don WordPress:

Don Wordpress muna da plugins da yawa don yin daidai. Ina ba ku shawarar ku ci gaba Yoast Toshe don gudanar da fifikon bincike. Kada ku duba labarinmu akan Yoast SEO Saituna don cikakkun saituna.

Isasan misali ne na fayil ɗin robots.txt da zaku iya amfani dasu don kowane yanki wanda aka shirya akan wordpress:

taswirar gidan yanar gizo: http://www.yourdomain.com/sitemap.xml Mai wakiltar mai amfani: * # hana duk fayiloli a cikin wadannan kundin adireshi Disallow: / cgi-bin / Disallow: / wp-admin / Disallow: / wp-hada / A hana: / wp-abun ciki / Ba da izinin: / archives / disallow: / *? * An hana: *? replytocom An hana: / wp- * Ba da izinin: / sharhi / ciyarwa / Wakilin mai amfani: Mediapartners-Google * Izinin: / Wakilin mai amfani: Googlebot -Bincin Hotuna: / wp-abun ciki / uploads / Mai amfani-wakili: Adsbot-Google Bada izini: / Wakilin Mai amfani: Googlebot-Mobile Bada izini: /

Da zarar kun inganta fayil ɗinku na robots.txt zan ba ku shawara sosai ku gwada fayil ɗinku ta farko ta amfani da robots.txt mai gwadawa a cikin Kayan Gidan Gidan Gidan Google.

robots.txt gwajin don alltechbuzz

Don haka, ina fata hakan ya taimaka. Bari in san ko kuna da wata shakku game da ingantawa a cikin maganganunku.

Game da marubucin 

Imran Uddin


{"email": "Adireshin imel ba daidai ba ne", "url": "Adireshin gidan yanar gizo ba shi da inganci", "required": "Filin da ake buƙata ya ɓace"}