{"id":25537,"date":"2024-09-23T02:45:19","date_gmt":"2024-09-22T16:45:19","guid":{"rendered":"https:\/\/digitalnomadshq.com.au\/?post_type=glossary&#038;p=25537"},"modified":"2025-12-22T16:34:13","modified_gmt":"2025-12-22T06:34:13","slug":"meta-robots-tag","status":"publish","type":"glossary","link":"https:\/\/digitalnomadshq.com.au\/glossary\/meta-robots-tag\/","title":{"rendered":"Meta Robots Tag"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">What Is a Meta Robots Tag?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A meta robots tag is an HTML tag that gives search engine <a href=\"https:\/\/digitalnomadshq.com.au\/glossary\/crawler\/\">crawlers<\/a> instructions on how to index, crawl, and display a page in search results. It\u2019s placed within the <code>&lt;head&gt;<\/code> section of the webpage.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here\u2019s an example in code:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code><em>&lt;meta name=\"robots\" content=\"noindex, nofollow\"&gt;<\/em><\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The meta robots tag is mainly used to control page indexing and crawling and can be found in the page&#8217;s HTML code. For pages without an HTML head section or for resources like images or PDFs, the X-Robots tag is used instead.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>Unlike the meta robots tag, the X-Robots tag is an HTTP header sent with the webpage\u2019s response.<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You can use the Ahrefs SEO Toolbar browser extension to check a page&#8217;s meta robots tag &#8211; The &#8220;indexability&#8221; section shows crawler directives based on both meta tags and HTTP headers.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It&#8217;s important to remember that search engine crawlers can only follow the instructions in the meta robots tag if the page is allowed to be crawled according to the rules in the <code>robots.txt<\/code> file. If you want a page to be excluded from search results, the page must be <a href=\"https:\/\/digitalnomadshq.com.au\/glossary\/crawlability\/\">crawlable<\/a> so that search engines can read the &#8220;noindex&#8221; directive.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Beyond controlling page indexing and crawling, the meta robots tag can also instruct search engines not to show a text snippet or video preview in search results or to avoid caching the page.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Importance of Meta Robots Tag<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Webmasters often want to prevent certain pages from appearing in search engines, such as those with thin content, PPC landing pages, or admin and &#8220;thank you&#8221; pages. The meta robots tag is the most reliable way to achieve this by using the \u201cnoindex\u201d directive.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Additionally, the &#8220;nofollow&#8221; attribute in the meta robots tag ensures that all links on the page are treated as \u201cnofollow\u201d by search engine crawlers like <a href=\"https:\/\/digitalnomadshq.com.au\/glossary\/googlebot\/\">Googlebot,<\/a> meaning no <a href=\"https:\/\/digitalnomadshq.com.au\/glossary\/link-equity\/\">link equity<\/a> or &#8220;<a href=\"https:\/\/digitalnomadshq.com.au\/glossary\/link-juice\/\">link juice<\/a>&#8221; is passed to the linked pages.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This tag can also control how a page is indexed and displayed to users &#8211; For example, a &#8220;nosnippet&#8221; directive can be added to stop search engines from showing a text snippet from the page in search results.<\/p>\n\n\n\n<div style=\"height:26px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Setting Up the Meta Robots Tag<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Setting up the meta robots tag in WordPress is straightforward with SEO plugins like Yoast and RankMath. Here\u2019s how to do it:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Using Yoast SEO Plugin<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Navigate to the Advanced Section below the content editing blocks for your post or page.<\/li>\n\n\n\n<li>Look for the dropdown option labelled \u201cAllow search engines to show this Post in search results?\u201d<\/li>\n\n\n\n<li>This controls the \u201cnoindex\u201d attribute for the page. Selecting &#8220;No&#8221; will apply the &#8220;noindex&#8221; directive, ensuring the page isn&#8217;t indexed by search engines.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Using the RankMath Plugin<br><\/strong>To noindex pages with RankMath, go to the Advanced tab and select the &#8220;No Index&#8221; option.<\/p>\n","protected":false},"featured_media":0,"parent":0,"template":"","meta":{"_acf_changed":true,"content-type":""},"class_list":["post-25537","glossary","type-glossary","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/digitalnomadshq.com.au\/wp-json\/wp\/v2\/glossary\/25537","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/digitalnomadshq.com.au\/wp-json\/wp\/v2\/glossary"}],"about":[{"href":"https:\/\/digitalnomadshq.com.au\/wp-json\/wp\/v2\/types\/glossary"}],"wp:attachment":[{"href":"https:\/\/digitalnomadshq.com.au\/wp-json\/wp\/v2\/media?parent=25537"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}