{"id":190,"date":"2026-11-10T04:22:50","date_gmt":"2026-11-10T04:22:50","guid":{"rendered":"https:\/\/wiki.designcorner.co.ke\/?dc_term=robots-txt"},"modified":"2026-11-10T08:03:18","modified_gmt":"2026-11-10T08:03:18","slug":"robots-txt","status":"publish","type":"dc_term","link":"https:\/\/wiki.designcorner.co.ke\/?dc_term=robots-txt","title":{"rendered":"Robots.txt"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">What it is<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Robots.txt sits at yoursite.com\/robots.txt and gives rules to bots. It does not hide pages securely; it only asks well-behaved crawlers to avoid them.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Why it matters for your business<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A wrong rule can block your whole site from Google.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Real-world example<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A staging rule Disallow: \/ was copied to a live site and blocked Google entirely until it was removed.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Design Corner tip<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Never use robots.txt to hide sensitive information; protect it with passwords instead.<\/p>\n\n\n","protected":false},"excerpt":{"rendered":"<p>A file that tells search engine crawlers which parts of your site they may or may not visit.<\/p>\n","protected":false},"featured_media":0,"template":"","dc_letter":[23],"dc_topic":[39],"class_list":["post-190","dc_term","type-dc_term","status-publish","hentry","dc_letter-r","dc_topic-marketing-and-seo"],"_links":{"self":[{"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=\/wp\/v2\/dc_term\/190","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=\/wp\/v2\/dc_term"}],"about":[{"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=\/wp\/v2\/types\/dc_term"}],"version-history":[{"count":1,"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=\/wp\/v2\/dc_term\/190\/revisions"}],"predecessor-version":[{"id":439,"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=\/wp\/v2\/dc_term\/190\/revisions\/439"}],"wp:attachment":[{"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=190"}],"wp:term":[{"taxonomy":"dc_letter","embeddable":true,"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=%2Fwp%2Fv2%2Fdc_letter&post=190"},{"taxonomy":"dc_topic","embeddable":true,"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=%2Fwp%2Fv2%2Fdc_topic&post=190"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}