{"id":2413,"date":"2017-09-06T14:36:04","date_gmt":"2017-09-06T18:36:04","guid":{"rendered":"https:\/\/www.pair.com\/support\/kb\/?p=2413"},"modified":"2025-06-04T15:49:39","modified_gmt":"2025-06-04T19:49:39","slug":"how-to-hide-and-show-your-directory-index","status":"publish","type":"ht_kb","link":"https:\/\/www.pair.com\/support\/kb\/how-to-hide-and-show-your-directory-index\/","title":{"rendered":"How to Hide and Show Your Directory Index"},"content":{"rendered":"\n<p><span class=\"s1\"><a style=\"color:#fff; text-decoration:none!important;\" href=\"https:\/\/www.pair.com\/support\/kb\/tags\/shared-hosting\/\"><p style=\"background-color:#1a3d6e !important;color:#fff;padding:6px; display:inline-block!important;font-size:12px;font-weight:bold; border-radius:3px;\">Shared<\/p><\/a> <a style=\"color:#fff; text-decoration:none!important;\" href=\"https:\/\/www.pair.com\/support\/kb\/tags\/vps\/\"><p style=\"background-color:#1a3d6e !important;color:#fff;padding:6px; display:inline-block!important;font-size:12px;font-weight:bold; border-radius:3px;\">VPS<\/p><\/a> <a style=\"color:#fff; text-decoration:none!important;\" href=\"https:\/\/www.pair.com\/support\/kb\/tags\/qs-dedicated\/\"><p style=\"background-color:#1a3d6e !important;color:#fff;padding:6px; display:inline-block!important;font-size:12px; font-weight:bold; border-radius:3px;\">Dedicated<\/p><\/a><\/span><\/p>\n\n\n\n<p>You may have visited one of your webpage\u2019s URLs and found a list of files.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/09\/Index-1.png\" data-rel=\"lightbox-image-0\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img decoding=\"async\" loading=\"lazy\" width=\"540\" height=\"266\" src=\"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/09\/Index-1.png\" alt=\"Index example image\" class=\"wp-image-2415\" srcset=\"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/09\/Index-1.png 540w, https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/09\/Index-1-300x148.png 300w, https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/09\/Index-1-60x30.png 60w, https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/09\/Index-1-150x74.png 150w\" sizes=\"(max-width: 540px) 100vw, 540px\" \/><\/a><\/figure>\n\n\n\n<p><span style=\"font-weight: 400;\">This is a <\/span><b>directory index<\/b><span style=\"font-weight: 400;\">. It displays a list of the files in your directory when you visit the directory\u2019s URL. This will only occur, however, if you haven\u2019t established a homepage. Showing the directory index is the default behavior, but you can easily turn it off by going to your directory\u2019s web settings.<\/span><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Hiding or Showing Your Directory Index<\/h3>\n\n\n\n<p><span style=\"font-weight: 400;\">First, you must determine what directories you want to hide. Keep in mind that directories are hierarchical. If you hide the directory index in a top level directory, it will affect the subdirectories, as well. If you wish to hide the top-level directory, but don\u2019t wish the subdirectories to be hidden, you can go through and change the subdirectories with the same method as changing the top level directories. <\/span><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/09\/directory-explanation.png\" data-rel=\"lightbox-image-1\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img decoding=\"async\" loading=\"lazy\" width=\"423\" height=\"198\" src=\"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/09\/directory-explanation.png\" alt=\"Directory hierarchy example photo\" class=\"wp-image-2416\" srcset=\"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/09\/directory-explanation.png 423w, https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/09\/directory-explanation-300x140.png 300w, https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/09\/directory-explanation-60x28.png 60w, https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/09\/directory-explanation-150x70.png 150w\" sizes=\"(max-width: 423px) 100vw, 423px\" \/><\/a><\/figure><\/div>\n\n\n<h4 class=\"wp-block-heading\">To hide\/show your directory:<\/h4>\n\n\n\n<p>Choose the tutorial that reflects your ACC interface type:&nbsp;<\/p>\n\n\n\n<ul>\n<li>Legacy Interface<\/li>\n\n\n\n<li>New ACC Interface<\/li>\n<\/ul>\n\n\n\n<p>Not sure what the difference is? See<a href=\"http:\/\/pair.com\/support\/kb\/which-acc-interface-am-i-using\/\"> Which ACC Interface Am I Using?&nbsp;<\/a><\/p>\n\n\n\n<h4 class=\"wp-block-heading\">If you are using the Legacy Interface:<\/h4>\n\n\n\n<ol>\n<li><span style=\"font-weight: 400;\">Log in to the<\/span><a href=\"http:\/\/my.pair.com\"><span style=\"font-weight: 400;\"> Account Control Center (ACC)<\/span><\/a><\/li>\n\n\n\n<li><span style=\"font-weight: 400;\">Click <\/span><b>Files<\/b><span style=\"font-weight: 400;\"> in the left sidebar<\/span><\/li>\n\n\n\n<li><span style=\"font-weight: 400;\">Click <\/span><b>Web<\/b><span style=\"font-weight: 400;\"> from the drop-down <\/span><\/li>\n\n\n\n<li><span style=\"font-weight: 400;\">From here, navigate to the directory you want to show\/hide. Directories are shown with blue folders. Click on a directory\u2019s name to enter it. <\/span><\/li>\n\n\n\n<li><span style=\"font-weight: 400;\">Once you\u2019ve entered your chosen directory, click <\/span><b>Web Settings<\/b><span style=\"font-weight: 400;\"> in the top nav bar <\/span><\/li>\n\n\n\n<li><span style=\"font-weight: 400;\">Click <\/span><b>Directory Listings<\/b><\/li>\n\n\n\n<li><span style=\"font-weight: 400;\">To show your directory index, click <\/span><b>List Files<\/b><span style=\"font-weight: 400;\">. To hide your directory index, click <\/span><b>Do Not List Files<\/b><\/li>\n\n\n\n<li><span style=\"font-weight: 400;\">Click <\/span><b>Update<\/b><\/li>\n<\/ol>\n\n\n\n<p>Your directory will be updated to the preference you selected.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">If you are using the New ACC Interface:<\/h4>\n\n\n\n<ol>\n<li>Log in to the Account Control Center (ACC) at <a href=\"https:\/\/my.pair.com\/\">my.pair.com<\/a><\/li>\n\n\n\n<li>In the top navigation bar, click <strong>Files<\/strong><\/li>\n\n\n\n<li>Navigate to the directory you want to show\/hide. Directores are shown with blue folder icons. Click on the directory\u2019s name to enter it.&nbsp;<\/li>\n\n\n\n<li>Once you\u2019ve entered your chosen directory, click the <strong>Web Settings<\/strong> button in the toolbar<\/li>\n\n\n\n<li>Find <strong>Directory Listings <\/strong>and click its <strong>Edit <\/strong>button<\/li>\n\n\n\n<li>Choose a configuration option:<br><\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><strong>Display a list of files in this directory<\/strong><\/td><td>If someone attempts to visit this directory from a browser, a list of files will be displayed.&nbsp;&nbsp;<\/td><\/tr><tr><td><strong>Inherit the setting from the containing directory, or the default setting<\/strong><\/td><td>This directory will inherit settings from its parent directory or the default settings.&nbsp;<\/td><\/tr><tr><td><strong>Display a \u201cForbidden\u201d error<\/strong><\/td><td>If someone attempts to visit the directory from a browser, a forbidden error will be displayed.&nbsp;<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<ol start=\"7\">\n<li>Click the <strong>Update <\/strong>button<\/li>\n<\/ol>\n\n\n\n<p>Your directory will be updated to the preference you selected.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You may have visited one of your webpage\u2019s URLs and found a list of files. This is a directory index. It displays a list of the files in your directory when you visit the directory\u2019s URL. This will only occur, however, if you haven\u2019t established a homepage. Showing the directory&#8230;<\/p>\n","protected":false},"author":11,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":[],"ht-kb-category":[4],"ht-kb-tag":[178,176,177],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.8.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Hide and Show Your Directory Index - Knowledge Base - Pair Networks<\/title>\n<meta name=\"description\" content=\"A directory index displays a list of the files in your directory when you visit the directory\u2019s URL. This will only occur, however, if you haven\u2019t established a homepage. Showing the directory index is the default behavior, but you can easily turn it off by going to your directory\u2019s web settings.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.pair.com\/support\/kb\/how-to-hide-and-show-your-directory-index\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Hide and Show Your Directory Index - Knowledge Base - Pair Networks\" \/>\n<meta property=\"og:description\" content=\"A directory index displays a list of the files in your directory when you visit the directory\u2019s URL. This will only occur, however, if you haven\u2019t established a homepage. Showing the directory index is the default behavior, but you can easily turn it off by going to your directory\u2019s web settings.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.pair.com\/support\/kb\/how-to-hide-and-show-your-directory-index\/\" \/>\n<meta property=\"og:site_name\" content=\"Knowledge Base - Pair Networks\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/pairnetworks\/\" \/>\n<meta property=\"article:modified_time\" content=\"2025-06-04T19:49:39+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/09\/Index-1.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@pairNetworks\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.pair.com\/support\/kb\/how-to-hide-and-show-your-directory-index\/\",\"url\":\"https:\/\/www.pair.com\/support\/kb\/how-to-hide-and-show-your-directory-index\/\",\"name\":\"How to Hide and Show Your Directory Index - Knowledge Base - Pair Networks\",\"isPartOf\":{\"@id\":\"https:\/\/www.pair.com\/support\/kb\/#website\"},\"datePublished\":\"2017-09-06T18:36:04+00:00\",\"dateModified\":\"2025-06-04T19:49:39+00:00\",\"description\":\"A directory index displays a list of the files in your directory when you visit the directory\u2019s URL. This will only occur, however, if you haven\u2019t established a homepage. Showing the directory index is the default behavior, but you can easily turn it off by going to your directory\u2019s web settings.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.pair.com\/support\/kb\/how-to-hide-and-show-your-directory-index\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.pair.com\/support\/kb\/how-to-hide-and-show-your-directory-index\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.pair.com\/support\/kb\/how-to-hide-and-show-your-directory-index\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.pair.com\/support\/kb\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Hide and Show Your Directory Index\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.pair.com\/support\/kb\/#website\",\"url\":\"https:\/\/www.pair.com\/support\/kb\/\",\"name\":\"Knowledge Base - Pair Networks\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/www.pair.com\/support\/kb\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.pair.com\/support\/kb\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.pair.com\/support\/kb\/#organization\",\"name\":\"Pair Networks\",\"url\":\"https:\/\/www.pair.com\/support\/kb\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.pair.com\/support\/kb\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2022\/02\/Gb_TUkUE_400x400.jpeg\",\"contentUrl\":\"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2022\/02\/Gb_TUkUE_400x400.jpeg\",\"width\":360,\"height\":360,\"caption\":\"Pair Networks\"},\"image\":{\"@id\":\"https:\/\/www.pair.com\/support\/kb\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/pairnetworks\/\",\"https:\/\/twitter.com\/pairNetworks\",\"https:\/\/www.instagram.com\/pairnetworks\/\",\"https:\/\/www.linkedin.com\/company\/2269676\/\",\"https:\/\/www.pinterest.com\/pairnetworksinc\/pins\/\",\"https:\/\/www.youtube.com\/user\/pairnetworks\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Hide and Show Your Directory Index - Knowledge Base - Pair Networks","description":"A directory index displays a list of the files in your directory when you visit the directory\u2019s URL. This will only occur, however, if you haven\u2019t established a homepage. Showing the directory index is the default behavior, but you can easily turn it off by going to your directory\u2019s web settings.","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:\/\/www.pair.com\/support\/kb\/how-to-hide-and-show-your-directory-index\/","og_locale":"en_US","og_type":"article","og_title":"How to Hide and Show Your Directory Index - Knowledge Base - Pair Networks","og_description":"A directory index displays a list of the files in your directory when you visit the directory\u2019s URL. This will only occur, however, if you haven\u2019t established a homepage. Showing the directory index is the default behavior, but you can easily turn it off by going to your directory\u2019s web settings.","og_url":"https:\/\/www.pair.com\/support\/kb\/how-to-hide-and-show-your-directory-index\/","og_site_name":"Knowledge Base - Pair Networks","article_publisher":"https:\/\/www.facebook.com\/pairnetworks\/","article_modified_time":"2025-06-04T19:49:39+00:00","og_image":[{"url":"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2017\/09\/Index-1.png"}],"twitter_card":"summary_large_image","twitter_site":"@pairNetworks","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.pair.com\/support\/kb\/how-to-hide-and-show-your-directory-index\/","url":"https:\/\/www.pair.com\/support\/kb\/how-to-hide-and-show-your-directory-index\/","name":"How to Hide and Show Your Directory Index - Knowledge Base - Pair Networks","isPartOf":{"@id":"https:\/\/www.pair.com\/support\/kb\/#website"},"datePublished":"2017-09-06T18:36:04+00:00","dateModified":"2025-06-04T19:49:39+00:00","description":"A directory index displays a list of the files in your directory when you visit the directory\u2019s URL. This will only occur, however, if you haven\u2019t established a homepage. Showing the directory index is the default behavior, but you can easily turn it off by going to your directory\u2019s web settings.","breadcrumb":{"@id":"https:\/\/www.pair.com\/support\/kb\/how-to-hide-and-show-your-directory-index\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.pair.com\/support\/kb\/how-to-hide-and-show-your-directory-index\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.pair.com\/support\/kb\/how-to-hide-and-show-your-directory-index\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.pair.com\/support\/kb\/"},{"@type":"ListItem","position":2,"name":"How to Hide and Show Your Directory Index"}]},{"@type":"WebSite","@id":"https:\/\/www.pair.com\/support\/kb\/#website","url":"https:\/\/www.pair.com\/support\/kb\/","name":"Knowledge Base - Pair Networks","description":"","publisher":{"@id":"https:\/\/www.pair.com\/support\/kb\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.pair.com\/support\/kb\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.pair.com\/support\/kb\/#organization","name":"Pair Networks","url":"https:\/\/www.pair.com\/support\/kb\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.pair.com\/support\/kb\/#\/schema\/logo\/image\/","url":"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2022\/02\/Gb_TUkUE_400x400.jpeg","contentUrl":"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2022\/02\/Gb_TUkUE_400x400.jpeg","width":360,"height":360,"caption":"Pair Networks"},"image":{"@id":"https:\/\/www.pair.com\/support\/kb\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/pairnetworks\/","https:\/\/twitter.com\/pairNetworks","https:\/\/www.instagram.com\/pairnetworks\/","https:\/\/www.linkedin.com\/company\/2269676\/","https:\/\/www.pinterest.com\/pairnetworksinc\/pins\/","https:\/\/www.youtube.com\/user\/pairnetworks"]}]}},"_links":{"self":[{"href":"https:\/\/www.pair.com\/support\/kb\/wp-json\/wp\/v2\/ht-kb\/2413"}],"collection":[{"href":"https:\/\/www.pair.com\/support\/kb\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/www.pair.com\/support\/kb\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.pair.com\/support\/kb\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/www.pair.com\/support\/kb\/wp-json\/wp\/v2\/comments?post=2413"}],"version-history":[{"count":5,"href":"https:\/\/www.pair.com\/support\/kb\/wp-json\/wp\/v2\/ht-kb\/2413\/revisions"}],"predecessor-version":[{"id":10035,"href":"https:\/\/www.pair.com\/support\/kb\/wp-json\/wp\/v2\/ht-kb\/2413\/revisions\/10035"}],"wp:attachment":[{"href":"https:\/\/www.pair.com\/support\/kb\/wp-json\/wp\/v2\/media?parent=2413"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.pair.com\/support\/kb\/wp-json\/wp\/v2\/ht-kb-category?post=2413"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.pair.com\/support\/kb\/wp-json\/wp\/v2\/ht-kb-tag?post=2413"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}