{"id":3818,"date":"2025-08-13T15:13:18","date_gmt":"2025-08-13T15:13:18","guid":{"rendered":"https:\/\/darwenonline.co.uk\/web\/?p=3818"},"modified":"2025-08-13T15:24:38","modified_gmt":"2025-08-13T15:24:38","slug":"how-to-prevent-google-from-indexing-specific-folders-on-your-website","status":"publish","type":"post","link":"https:\/\/darwenonline.co.uk\/web\/how-to-prevent-google-from-indexing-specific-folders-on-your-website\/","title":{"rendered":"How to Prevent Google from Indexing Specific Folders on Your Website"},"content":{"rendered":"<p data-pm-slice=\"1 1 []\"><span class=\"\">Controlling what search engines index is crucial to managing your site&#8217;s visibility, security, and SEO performance. Reliable methods can prevent Google Search and other web crawlers from indexing specific folders on your published site, which helps you hide duplicate content, staging areas, or sensitive information. In this blog post, we&#8217;ll explore multiple techniques, common pitfalls, and best practices for managing folder indexing effectively.<\/span><\/p>\n<p><span class=\"\">Google uses search engine crawlers (often called bots or spiders) to scan web pages and build its search index. Once indexed, content becomes eligible to appear in Google&#8217;s search engine results index, contributing to your search traffic. However, not all web content should be publicly visible.<\/span><\/p>\n<h3><span class=\"\">Reasons you might want to prevent indexing<\/span><\/h3>\n<ul>\n<li><span class=\"\">Avoiding duplicate content penalties<\/span><\/li>\n<li><span class=\"\">Protecting private or password-protected pages<\/span><\/li>\n<li><span class=\"\">Excluding staging environments or WP Content folders<\/span><\/li>\n<li><span class=\"\">Securing files like video files or image files that are not meant for public consumption<\/span><\/li>\n<\/ul>\n<p><a class=\"tm-link\" title=\"title\" href=\"https:\/\/search.google.com\/search-console\" target=\"\"><strong><em>Google Search Console URL Inspection Tool<\/em><\/strong><\/a><\/p>\n<h3><span class=\"\">Utilising the robots.txt file<\/span><\/h3>\n<p><span class=\"\">The most straightforward way to stop search engine bots from crawling folders is by configuring your robots.txt file, found in the root directory of your domain.<\/span><\/p>\n<p><span class=\"\">Example:<\/span><\/p>\n<pre><code>User-agent: *\r\nDisallow: \/private-folder\/<\/code><\/pre>\n<p><span class=\"\">This tells all bots to avoid crawling anything within \/private-folder\/. However, if other sites link to that folder or it&#8217;s included in a sitemap, it may still get indexed.<\/span><\/p>\n<p><span class=\"\">\u2705 Tip: Use the Google Search Console&#8217;s robots.txt Tester to check for errors. <\/span><a class=\"tm-link\" title=\"title\" href=\"https:\/\/search.google.com\/search-console\/robots-testing-tool\" target=\"\"><span class=\"\">Google Search Console Robots.txt Tester<\/span><\/a><\/p>\n<h3><span class=\"\">Using meta tags for noindex<\/span><\/h3>\n<p><span class=\"\">To stop indexing of specific HTML pages, add the following &lt;meta&gt; tag within the &lt;head&gt; section:<\/span><\/p>\n<pre><code>&lt;meta name=\"robots\" content=\"noindex, nofollow\"&gt;<\/code><\/pre>\n<p><span class=\"\">This noindex tag signals Google and other search engines not to index the page or follow its links.<\/span><\/p>\n<p><span class=\"\">\ud83d\udd0d Pro Tip: Use browser tools like View the Source or Inspect Element to verify your meta tag implementation.<\/span><\/p>\n<p><span class=\"\">Suitable for:<\/span><\/p>\n<ul>\n<li><span class=\"\">Blog posts under revision<\/span><\/li>\n<li><span class=\"\">Dynamic pages generated with parameters<\/span><\/li>\n<li><span class=\"\">Pages excluded from Google News or Google Adwords campaigns<\/span><\/li>\n<\/ul>\n<h3><span class=\"\">Setting HTTP headers for noindex<\/span><\/h3>\n<p><span class=\"\">For non-HTML content such as PDFs, video files, or image files, you can prevent indexing by setting HTTP headers:<\/span><\/p>\n<pre><code>X-Robots-Tag: noindex<\/code><\/pre>\n<p><span class=\"\">This is configured via your server or .htaccess file and is a powerful tool for controlling how Google indexes media or document files.<\/span><\/p>\n<h3><span class=\"\">Disabling directory indexing<\/span><\/h3>\n<p><span class=\"\">If your server doesn&#8217;t have an index.html or similar file in a folder, some configurations allow directory browsing\u2014a direct security risk.<\/span><\/p>\n<p><span class=\"\">To disable this, add this line to your .htaccess file:<\/span><\/p>\n<pre><code>Options -Indexes<\/code><\/pre>\n<p><span class=\"\">This blocks directory listings and improves WordPress security by preventing unauthorised users from viewing file structures in places like the WP Content folder.<\/span><\/p>\n<h3><span class=\"\">Managing indexing on CMS platforms<\/span><\/h3>\n<p><span class=\"\">If you use a CMS like WordPress, install SEO plugins that offer built-in noindex tools. Here are some options:<\/span><\/p>\n<ul>\n<li><span class=\"\">Yoast SEO \u2013 Under Search Appearance &gt; Content Types, toggle off indexing.<\/span><\/li>\n<li><span class=\"\">SEO Plugin All In One SEO \u2013 Use the AIOSEO Settings to control post\/page indexing.<\/span><\/li>\n<li><span class=\"\">The SEO Framework \u2013 Lightweight alternative with full indexing controls.<\/span><\/li>\n<\/ul>\n<p><span class=\"\">Also, visit the Reading Settings panel to check whether your entire site is set to discourage search engine indexing.<\/span><\/p>\n<h3><span class=\"\">Best practices for sensitive content<\/span><\/h3>\n<p><span class=\"\">Security goes hand-in-hand with indexing management. Here are the best practices for hiding sensitive content:<\/span><\/p>\n<ul>\n<li><span class=\"\">Password-protected pages: Use authentication at both page and server levels.<\/span><\/li>\n<li><span class=\"\">User authentication: Enable multi-factor authentication and session timeouts.<\/span><\/li>\n<li><span class=\"\">Encryption algorithms: Secure any form submissions or database connections.<\/span><\/li>\n<li><span class=\"\">Canonical URLs: Use properly to avoid indexing duplicate versions of content.<\/span><\/li>\n<li><span class=\"\">Use Google&#8217;s Removals Tool in Search Console for emergency de-indexing.<\/span><\/li>\n<\/ul>\n<p><span class=\"\">\u26a0\ufe0f Remember: Disallowing access doesn&#8217;t equal security. Hidden pages may still be accessible if not protected.<\/span><\/p>\n<h3><span class=\"\">Common mistakes to avoid<\/span><\/h3>\n<ul>\n<li><span class=\"\">Only using robots.txt: This blocks crawling, not indexing. Use noindex for both.<\/span><\/li>\n<li><span class=\"\">Blocking important content accidentally: Check indexing status in Search Console&#8217;s Page Indexing report.<\/span><\/li>\n<li><span class=\"\">Allowing sensitive files to remain public: Especially in misconfigured folders like \/uploads\/.<\/span><\/li>\n<li><span class=\"\">Not verifying with URL Inspection Tool: Always confirm indexing status.<\/span><\/li>\n<\/ul>\n<h2><span class=\"\">Conclusion and final recommendations<\/span><\/h2>\n<p><span class=\"\">Preventing specific folders or files from being indexed is essential for search engine optimisation, privacy, and security. From using robots.txt to HTTP headers and SEO plugins, you have multiple tools to control how search engine algorithms interact with your content.<\/span><\/p>\n<h3><span class=\"\">Final tips:<\/span><\/h3>\n<ul>\n<li><span class=\"\">Combine methods for stronger control (e.g., robots.txt + noindex tag).<\/span><\/li>\n<li><span class=\"\">Test changes with Google Search Console regularly.<\/span><\/li>\n<li><span class=\"\">Periodically audit your site for unwanted indexed pages using site:<\/span><a href=\"http:\/\/yourdomain.com\" target=\"_blank\" rel=\"noopener\"><span class=\"\">yourdomain.com<\/span><\/a><span class=\"\"> in Google.<\/span><\/li>\n<\/ul>\n<p><span class=\"\">By following these techniques, you not only enhance privacy but also improve the accuracy and quality of your site&#8217;s representation in <em>Google Search<\/em>.<\/span><\/p>\n<h2><span class=\"\">TL;DR (too long; didn&#8217;t read)<\/span><\/h2>\n<ul>\n<li><span class=\"\">Use the robots.txt file to block search engine bots from crawling entire folders.<\/span><\/li>\n<li><span class=\"\">Add meta name=&#8221;robots&#8221; noindex tags to individual HTML pages for granular control.<\/span><\/li>\n<li><span class=\"\">Utilise HTTP headers for non-HTML files like video files or image files.<\/span><\/li>\n<li><span class=\"\">Disable directory browsing with .htaccess using Options -Indexes for better web security.<\/span><\/li>\n<li><span class=\"\">For WordPress, use SEO plugins like Yoast SEO, AIOSEO Settings, or The SEO Framework to manage indexable pages.<\/span><\/li>\n<li><span class=\"\">Always monitor your settings via Google Search Console, especially the Page Indexing report and URL Inspection Tool.<\/span><\/li>\n<li><span class=\"\">Implement user authentication and password-protected pages for sensitive or private folders.<\/span><\/li>\n<\/ul>\n<p><a href=\"https:\/\/cmldesign.co.uk\/web-design-lancashire\/product\/crawl-indexing-gbp-analysis\/\"><img fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter wp-image-3396 size-full\" src=\"data:image\/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA3MjggOTAiIHdpZHRoPSI3MjgiIGhlaWdodD0iOTAiIGRhdGEtdT0iaHR0cCUzQSUyRiUyRmRhcndlbm9ubGluZS5jby51ayUyRndlYiUyRndwLWNvbnRlbnQlMkZ1cGxvYWRzJTJGMjAyNCUyRjA5JTJGc2l0ZS1pbmRleGluZy5qcGciIGRhdGEtdz0iNzI4IiBkYXRhLWg9IjkwIiBkYXRhLWJpcD0iIj48L3N2Zz4=\" data-spai=\"1\" alt=\"site-indexing\" width=\"728\" height=\"90\"  \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<h1 class=\"entry-title\" style=\"text-align: center;\">A brief guide to website hosting<\/h1>\n<p style=\"text-align: center;\"><a href=\"https:\/\/darwenonline.co.uk\/web\/a-brief-guide-to-website-hosting\/\">https:\/\/darwenonline.co.uk\/web\/a-brief-guide-to-website-hosting\/\u00a0<\/a><\/p>\n<p>&nbsp;<\/p>\n<h3 style=\"text-align: left;\"><span class=\"\">FAQ: Preventing Google indexing<\/span><\/h3>\n<p><span class=\"\"><strong>How do I remove a folder already indexed by Google?<\/strong><\/span><\/p>\n<p><span class=\"\">Use the Google Search Console&#8217;s Removals Tool and ensure you apply noindex methods to prevent reindexing.<\/span><\/p>\n<p><span class=\"\"><strong>What&#8217;s the best way to protect sensitive content?<\/strong><\/span><\/p>\n<p><span class=\"\">Combine <em>noindex,<\/em> directory disabling (Options -Indexes), and proper user authentication, like password-protected pages.<\/span><\/p>\n<p><span class=\"\"><strong>How do I stop media files like PDFs or images from being indexed?<\/strong><\/span><\/p>\n<p><span class=\"\">Set the X-Robots-Tag: noindex in the server response headers for those file types.<\/span><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Controlling what search engines index is crucial to managing your site&#8217;s visibility, security, and SEO performance. Reliable methods can prevent Google Search and other web crawlers from indexing specific folders on your published site, which helps you hide duplicate content, staging areas, or sensitive information. In this blog post, we&#8217;ll explore multiple techniques, common pitfalls, and best practices for managing [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":3820,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"default","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[62],"tags":[211,217],"class_list":["post-3818","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tips-advice","tag-domain-names-hosting","tag-google"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>UK Digital Marketing Blog - Web Design, SEO, Maintenance &amp; Promotion by Darwen Online<\/title>\n<meta name=\"description\" content=\"Uncover essential techniques for indexing specific folders only to protect your site&#039;s SEO, privacy, and security. Learn reliable methods and avoid common pitfalls.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/darwenonline.co.uk\/web\/how-to-prevent-google-from-indexing-specific-folders-on-your-website\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Prevent Google from Indexing Specific Folders on Your Website - UK Digital Marketing Blog\" \/>\n<meta property=\"og:description\" content=\"Uncover essential techniques for indexing specific folders only to protect your site&#039;s SEO, privacy, and security. Learn reliable methods and avoid common pitfalls.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/darwenonline.co.uk\/web\/how-to-prevent-google-from-indexing-specific-folders-on-your-website\/\" \/>\n<meta property=\"og:site_name\" content=\"UK Digital Marketing Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/darwenonline\" \/>\n<meta property=\"article:published_time\" content=\"2025-08-13T15:13:18+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-08-13T15:24:38+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/darwenonline.co.uk\/web\/wp-content\/uploads\/2025\/08\/indexing-restricctions.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"955\" \/>\n\t<meta property=\"og:image:height\" content=\"800\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Craig Lowe\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Craig Lowe\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/darwenonline.co.uk\\\/web\\\/how-to-prevent-google-from-indexing-specific-folders-on-your-website\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/darwenonline.co.uk\\\/web\\\/how-to-prevent-google-from-indexing-specific-folders-on-your-website\\\/\"},\"author\":{\"name\":\"Craig Lowe\",\"@id\":\"https:\\\/\\\/darwenonline.co.uk\\\/web\\\/#\\\/schema\\\/person\\\/524b512715d470031c2e1872476416ba\"},\"headline\":\"How to Prevent Google from Indexing Specific Folders on Your Website\",\"datePublished\":\"2025-08-13T15:13:18+00:00\",\"dateModified\":\"2025-08-13T15:24:38+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/darwenonline.co.uk\\\/web\\\/how-to-prevent-google-from-indexing-specific-folders-on-your-website\\\/\"},\"wordCount\":942,\"publisher\":{\"@id\":\"https:\\\/\\\/darwenonline.co.uk\\\/web\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/darwenonline.co.uk\\\/web\\\/how-to-prevent-google-from-indexing-specific-folders-on-your-website\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/cdn.shortpixel.ai\\\/spai\\\/q_lossy+ret_img+to_webp\\\/darwenonline.co.uk\\\/web\\\/wp-content\\\/uploads\\\/2025\\\/08\\\/indexing-restricctions.jpg\",\"keywords\":[\"Domain Names &amp; Hosting\",\"Google\"],\"articleSection\":[\"Tips &amp; Advice\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/darwenonline.co.uk\\\/web\\\/how-to-prevent-google-from-indexing-specific-folders-on-your-website\\\/\",\"url\":\"https:\\\/\\\/darwenonline.co.uk\\\/web\\\/how-to-prevent-google-from-indexing-specific-folders-on-your-website\\\/\",\"name\":\"How to Prevent Google from Indexing Specific Folders on Your Website - UK Digital Marketing Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/darwenonline.co.uk\\\/web\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/darwenonline.co.uk\\\/web\\\/how-to-prevent-google-from-indexing-specific-folders-on-your-website\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/darwenonline.co.uk\\\/web\\\/how-to-prevent-google-from-indexing-specific-folders-on-your-website\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/cdn.shortpixel.ai\\\/spai\\\/q_lossy+ret_img+to_webp\\\/darwenonline.co.uk\\\/web\\\/wp-content\\\/uploads\\\/2025\\\/08\\\/indexing-restricctions.jpg\",\"datePublished\":\"2025-08-13T15:13:18+00:00\",\"dateModified\":\"2025-08-13T15:24:38+00:00\",\"description\":\"Uncover essential techniques for indexing specific folders only to protect your site's SEO, privacy, and security. Learn reliable methods and avoid common pitfalls.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/darwenonline.co.uk\\\/web\\\/how-to-prevent-google-from-indexing-specific-folders-on-your-website\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/darwenonline.co.uk\\\/web\\\/how-to-prevent-google-from-indexing-specific-folders-on-your-website\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/darwenonline.co.uk\\\/web\\\/how-to-prevent-google-from-indexing-specific-folders-on-your-website\\\/#primaryimage\",\"url\":\"https:\\\/\\\/cdn.shortpixel.ai\\\/spai\\\/q_lossy+ret_img+to_webp\\\/darwenonline.co.uk\\\/web\\\/wp-content\\\/uploads\\\/2025\\\/08\\\/indexing-restricctions.jpg\",\"contentUrl\":\"https:\\\/\\\/cdn.shortpixel.ai\\\/spai\\\/q_lossy+ret_img+to_webp\\\/darwenonline.co.uk\\\/web\\\/wp-content\\\/uploads\\\/2025\\\/08\\\/indexing-restricctions.jpg\",\"width\":955,\"height\":800,\"caption\":\"indexing-restricctions\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/darwenonline.co.uk\\\/web\\\/how-to-prevent-google-from-indexing-specific-folders-on-your-website\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/darwenonline.co.uk\\\/web\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Prevent Google from Indexing Specific Folders on Your Website\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/darwenonline.co.uk\\\/web\\\/#website\",\"url\":\"https:\\\/\\\/darwenonline.co.uk\\\/web\\\/\",\"name\":\"UK Digital Marketing Blog\",\"description\":\"Web Design, SEO, Maintenance &amp; Promotion by Darwen Online\",\"publisher\":{\"@id\":\"https:\\\/\\\/darwenonline.co.uk\\\/web\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/darwenonline.co.uk\\\/web\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/darwenonline.co.uk\\\/web\\\/#organization\",\"name\":\"UK Digital Marketing Blog\",\"url\":\"https:\\\/\\\/darwenonline.co.uk\\\/web\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/darwenonline.co.uk\\\/web\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/cdn.shortpixel.ai\\\/spai\\\/q_lossy+ret_img+to_webp\\\/darwenonline.co.uk\\\/web\\\/wp-content\\\/uploads\\\/2023\\\/10\\\/cropped-2023-Logo-Long.jpg\",\"contentUrl\":\"https:\\\/\\\/cdn.shortpixel.ai\\\/spai\\\/q_lossy+ret_img+to_webp\\\/darwenonline.co.uk\\\/web\\\/wp-content\\\/uploads\\\/2023\\\/10\\\/cropped-2023-Logo-Long.jpg\",\"width\":1200,\"height\":220,\"caption\":\"UK Digital Marketing Blog\"},\"image\":{\"@id\":\"https:\\\/\\\/darwenonline.co.uk\\\/web\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/darwenonline\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/darwenonline.co.uk\\\/web\\\/#\\\/schema\\\/person\\\/524b512715d470031c2e1872476416ba\",\"name\":\"Craig Lowe\",\"description\":\"Web designer since 2003\",\"url\":\"https:\\\/\\\/darwenonline.co.uk\\\/web\\\/author\\\/lowey81\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"UK Digital Marketing Blog - Web Design, SEO, Maintenance &amp; Promotion by Darwen Online","description":"Uncover essential techniques for indexing specific folders only to protect your site's SEO, privacy, and security. Learn reliable methods and avoid common pitfalls.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/darwenonline.co.uk\/web\/how-to-prevent-google-from-indexing-specific-folders-on-your-website\/","og_locale":"en_US","og_type":"article","og_title":"How to Prevent Google from Indexing Specific Folders on Your Website - UK Digital Marketing Blog","og_description":"Uncover essential techniques for indexing specific folders only to protect your site's SEO, privacy, and security. Learn reliable methods and avoid common pitfalls.","og_url":"https:\/\/darwenonline.co.uk\/web\/how-to-prevent-google-from-indexing-specific-folders-on-your-website\/","og_site_name":"UK Digital Marketing Blog","article_publisher":"https:\/\/www.facebook.com\/darwenonline","article_published_time":"2025-08-13T15:13:18+00:00","article_modified_time":"2025-08-13T15:24:38+00:00","og_image":[{"width":955,"height":800,"url":"https:\/\/cdn.shortpixel.ai\/spai\/q_lossy+ret_img+to_webp+p_h\/darwenonline.co.uk\/web\/wp-content\/uploads\/2025\/08\/indexing-restricctions.jpg","type":"image\/jpeg"}],"author":"Craig Lowe","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Craig Lowe","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/darwenonline.co.uk\/web\/how-to-prevent-google-from-indexing-specific-folders-on-your-website\/#article","isPartOf":{"@id":"https:\/\/darwenonline.co.uk\/web\/how-to-prevent-google-from-indexing-specific-folders-on-your-website\/"},"author":{"name":"Craig Lowe","@id":"https:\/\/darwenonline.co.uk\/web\/#\/schema\/person\/524b512715d470031c2e1872476416ba"},"headline":"How to Prevent Google from Indexing Specific Folders on Your Website","datePublished":"2025-08-13T15:13:18+00:00","dateModified":"2025-08-13T15:24:38+00:00","mainEntityOfPage":{"@id":"https:\/\/darwenonline.co.uk\/web\/how-to-prevent-google-from-indexing-specific-folders-on-your-website\/"},"wordCount":942,"publisher":{"@id":"https:\/\/darwenonline.co.uk\/web\/#organization"},"image":{"@id":"https:\/\/darwenonline.co.uk\/web\/how-to-prevent-google-from-indexing-specific-folders-on-your-website\/#primaryimage"},"thumbnailUrl":"https:\/\/cdn.shortpixel.ai\/spai\/q_lossy+ret_img+to_webp\/darwenonline.co.uk\/web\/wp-content\/uploads\/2025\/08\/indexing-restricctions.jpg","keywords":["Domain Names &amp; Hosting","Google"],"articleSection":["Tips &amp; Advice"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/darwenonline.co.uk\/web\/how-to-prevent-google-from-indexing-specific-folders-on-your-website\/","url":"https:\/\/darwenonline.co.uk\/web\/how-to-prevent-google-from-indexing-specific-folders-on-your-website\/","name":"How to Prevent Google from Indexing Specific Folders on Your Website - UK Digital Marketing Blog","isPartOf":{"@id":"https:\/\/darwenonline.co.uk\/web\/#website"},"primaryImageOfPage":{"@id":"https:\/\/darwenonline.co.uk\/web\/how-to-prevent-google-from-indexing-specific-folders-on-your-website\/#primaryimage"},"image":{"@id":"https:\/\/darwenonline.co.uk\/web\/how-to-prevent-google-from-indexing-specific-folders-on-your-website\/#primaryimage"},"thumbnailUrl":"https:\/\/cdn.shortpixel.ai\/spai\/q_lossy+ret_img+to_webp\/darwenonline.co.uk\/web\/wp-content\/uploads\/2025\/08\/indexing-restricctions.jpg","datePublished":"2025-08-13T15:13:18+00:00","dateModified":"2025-08-13T15:24:38+00:00","description":"Uncover essential techniques for indexing specific folders only to protect your site's SEO, privacy, and security. Learn reliable methods and avoid common pitfalls.","breadcrumb":{"@id":"https:\/\/darwenonline.co.uk\/web\/how-to-prevent-google-from-indexing-specific-folders-on-your-website\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/darwenonline.co.uk\/web\/how-to-prevent-google-from-indexing-specific-folders-on-your-website\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/darwenonline.co.uk\/web\/how-to-prevent-google-from-indexing-specific-folders-on-your-website\/#primaryimage","url":"https:\/\/cdn.shortpixel.ai\/spai\/q_lossy+ret_img+to_webp\/darwenonline.co.uk\/web\/wp-content\/uploads\/2025\/08\/indexing-restricctions.jpg","contentUrl":"https:\/\/cdn.shortpixel.ai\/spai\/q_lossy+ret_img+to_webp\/darwenonline.co.uk\/web\/wp-content\/uploads\/2025\/08\/indexing-restricctions.jpg","width":955,"height":800,"caption":"indexing-restricctions"},{"@type":"BreadcrumbList","@id":"https:\/\/darwenonline.co.uk\/web\/how-to-prevent-google-from-indexing-specific-folders-on-your-website\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/darwenonline.co.uk\/web\/"},{"@type":"ListItem","position":2,"name":"How to Prevent Google from Indexing Specific Folders on Your Website"}]},{"@type":"WebSite","@id":"https:\/\/darwenonline.co.uk\/web\/#website","url":"https:\/\/darwenonline.co.uk\/web\/","name":"UK Digital Marketing Blog","description":"Web Design, SEO, Maintenance &amp; Promotion by Darwen Online","publisher":{"@id":"https:\/\/darwenonline.co.uk\/web\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/darwenonline.co.uk\/web\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/darwenonline.co.uk\/web\/#organization","name":"UK Digital Marketing Blog","url":"https:\/\/darwenonline.co.uk\/web\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/darwenonline.co.uk\/web\/#\/schema\/logo\/image\/","url":"https:\/\/cdn.shortpixel.ai\/spai\/q_lossy+ret_img+to_webp\/darwenonline.co.uk\/web\/wp-content\/uploads\/2023\/10\/cropped-2023-Logo-Long.jpg","contentUrl":"https:\/\/cdn.shortpixel.ai\/spai\/q_lossy+ret_img+to_webp\/darwenonline.co.uk\/web\/wp-content\/uploads\/2023\/10\/cropped-2023-Logo-Long.jpg","width":1200,"height":220,"caption":"UK Digital Marketing Blog"},"image":{"@id":"https:\/\/darwenonline.co.uk\/web\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/darwenonline"]},{"@type":"Person","@id":"https:\/\/darwenonline.co.uk\/web\/#\/schema\/person\/524b512715d470031c2e1872476416ba","name":"Craig Lowe","description":"Web designer since 2003","url":"https:\/\/darwenonline.co.uk\/web\/author\/lowey81\/"}]}},"_links":{"self":[{"href":"https:\/\/darwenonline.co.uk\/web\/wp-json\/wp\/v2\/posts\/3818","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/darwenonline.co.uk\/web\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/darwenonline.co.uk\/web\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/darwenonline.co.uk\/web\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/darwenonline.co.uk\/web\/wp-json\/wp\/v2\/comments?post=3818"}],"version-history":[{"count":1,"href":"https:\/\/darwenonline.co.uk\/web\/wp-json\/wp\/v2\/posts\/3818\/revisions"}],"predecessor-version":[{"id":3819,"href":"https:\/\/darwenonline.co.uk\/web\/wp-json\/wp\/v2\/posts\/3818\/revisions\/3819"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/darwenonline.co.uk\/web\/wp-json\/wp\/v2\/media\/3820"}],"wp:attachment":[{"href":"https:\/\/darwenonline.co.uk\/web\/wp-json\/wp\/v2\/media?parent=3818"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/darwenonline.co.uk\/web\/wp-json\/wp\/v2\/categories?post=3818"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/darwenonline.co.uk\/web\/wp-json\/wp\/v2\/tags?post=3818"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}