{"id":12879,"date":"2021-12-25T11:35:31","date_gmt":"2021-12-25T11:35:31","guid":{"rendered":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?p=12879"},"modified":"2021-12-25T14:25:35","modified_gmt":"2021-12-25T14:25:35","slug":"set-directoryindex-priority-whm","status":"publish","type":"post","link":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/set-directoryindex-priority-whm\/","title":{"rendered":"How to Set DirectoryIndex Priority in WHM?"},"content":{"rendered":"<p>The DirectoryIndex directive outlines the filenames that will serve as the directory index page in Apache. It also specifies the priority among them, in case many of them share the same filename. With WHM, root users can set the priority order and add new filenames to the DirectoryIndex.<\/p>\n<h2>To Set DirectoryIndex Priority<\/h2>\n<p>1. Log in to WHM with your <em>root<\/em> account.<\/p>\n<p>2. Select the <strong>Service Configuration<\/strong>&nbsp;option from the navigation menu.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-12022\" src=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/06\/whm_service_configuration.png\" alt=\"\" width=\"1919\" height=\"869\"><\/p>\n<p>3. Click on <strong>Apache Configuration<\/strong>.<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-12671\" src=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/08\/whm_apache_configuration.png\" alt=\"\" width=\"1255\" height=\"249\"><\/p>\n<p>A list of configuration options for the Apache server will appear.<\/p>\n<p>4. Click the<strong> DirectoryIndex Priority<\/strong> option.<\/p>\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/12\/whm_directoryindex_priority.png\"><img decoding=\"async\" src=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/12\/whm_directoryindex_priority-1024x434.png\" alt=\"\" class=\"wp-image-14665\"\/><\/a><\/figure>\n\n\n\n<p>A list of filenames of the DirectoryIndex will appear. The priority of the filenames decreases as you go from top to bottom.<\/p>\n\n\n\n<p>5. Select the filename from the list whose priority you want to change.<\/p>\n\n\n\n<p>6. Choose from the buttons <strong>Move Up<\/strong> or <strong>Move Down<\/strong> to change its priority level.<\/p>\n\n\n\n<p>You can also delete the filename by clicking the <strong>Remove<\/strong> button or, add a new one with the <strong>Add<\/strong> button.<\/p>\n\n\n\n<p>7. Click on <strong>Save<\/strong> to apply the changes.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><a href=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/12\/whm_directoryindex_priority_list.png\"><img decoding=\"async\" src=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/12\/whm_directoryindex_priority_list.png\" alt=\"\" class=\"wp-image-14666\"\/><\/a><\/figure><\/div>\n\n\n\n<p>With it, WHM will set the DirectoryIndex priority for the server.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The DirectoryIndex directive outlines the filenames that will serve as the directory index page in Apache. It also specifies the priority among them, in case many of them share the same filename. With WHM, root users can set the priority order and add new filenames to the DirectoryIndex. To Set DirectoryIndex Priority 1. Log in [&hellip;]<\/p>\n","protected":false},"author":27,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[41,2679],"tags":[1294,1417,2408,1206,2852,2853,1423],"class_list":["post-12879","post","type-post","status-publish","format-standard","placeholder-for-hentry","category-howtos","category-webuzo","tag-apache-directory","tag-apache-server","tag-apache-server-whm","tag-apache-web-server","tag-directoryindex","tag-directoryindex-priority-whm","tag-whm-root"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Set DirectoryIndex Priority in WHM - Web Hosting FAQs by MilesWeb<\/title>\n<meta name=\"description\" content=\"This article demonstrates how WHM users with root access can configure the DirectoryIndex priority for their server.\" \/>\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.milesweb.co.uk\/hosting-faqs\/set-directoryindex-priority-whm\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Set DirectoryIndex Priority in WHM - Web Hosting FAQs by MilesWeb\" \/>\n<meta property=\"og:description\" content=\"This article demonstrates how WHM users with root access can configure the DirectoryIndex priority for their server.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/set-directoryindex-priority-whm\/\" \/>\n<meta property=\"og:site_name\" content=\"Web Hosting FAQs by MilesWeb\" \/>\n<meta property=\"article:published_time\" content=\"2021-12-25T11:35:31+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-12-25T14:25:35+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/06\/whm_service_configuration.png\" \/>\n<meta name=\"author\" content=\"Prasad Khartadkar\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Prasad Khartadkar\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/set-directoryindex-priority-whm\/\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/set-directoryindex-priority-whm\/\",\"name\":\"Set DirectoryIndex Priority in WHM - Web Hosting FAQs by MilesWeb\",\"isPartOf\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/set-directoryindex-priority-whm\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/set-directoryindex-priority-whm\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/06\/whm_service_configuration.png\",\"datePublished\":\"2021-12-25T11:35:31+00:00\",\"dateModified\":\"2021-12-25T14:25:35+00:00\",\"author\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/c9138a9488172a8d0aa2d4f40878d83e\"},\"description\":\"This article demonstrates how WHM users with root access can configure the DirectoryIndex priority for their server.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/set-directoryindex-priority-whm\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/set-directoryindex-priority-whm\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/set-directoryindex-priority-whm\/#primaryimage\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/06\/whm_service_configuration.png\",\"contentUrl\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/06\/whm_service_configuration.png\",\"width\":1919,\"height\":869},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/set-directoryindex-priority-whm\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Set DirectoryIndex Priority in WHM?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/\",\"name\":\"Web Hosting FAQs by MilesWeb\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/c9138a9488172a8d0aa2d4f40878d83e\",\"name\":\"Prasad Khartadkar\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/fafb102a39aa8f8d38a11f3e2dcfa746?s=96&d=blank&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/fafb102a39aa8f8d38a11f3e2dcfa746?s=96&d=blank&r=g\",\"caption\":\"Prasad Khartadkar\"},\"description\":\"Prasad is a business grad specialized in Marketing. He has garnered experience as a technical content writer and a digital marketer that he brings out in his work. He likes reading classics and travel in his free time.\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/author\/prasad-khartadkar\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Set DirectoryIndex Priority in WHM - Web Hosting FAQs by MilesWeb","description":"This article demonstrates how WHM users with root access can configure the DirectoryIndex priority for their server.","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.milesweb.co.uk\/hosting-faqs\/set-directoryindex-priority-whm\/","og_locale":"en_GB","og_type":"article","og_title":"Set DirectoryIndex Priority in WHM - Web Hosting FAQs by MilesWeb","og_description":"This article demonstrates how WHM users with root access can configure the DirectoryIndex priority for their server.","og_url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/set-directoryindex-priority-whm\/","og_site_name":"Web Hosting FAQs by MilesWeb","article_published_time":"2021-12-25T11:35:31+00:00","article_modified_time":"2021-12-25T14:25:35+00:00","og_image":[{"url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/06\/whm_service_configuration.png","type":"","width":"","height":""}],"author":"Prasad Khartadkar","twitter_misc":{"Written by":"Prasad Khartadkar","Estimated reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/set-directoryindex-priority-whm\/","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/set-directoryindex-priority-whm\/","name":"Set DirectoryIndex Priority in WHM - Web Hosting FAQs by MilesWeb","isPartOf":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/set-directoryindex-priority-whm\/#primaryimage"},"image":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/set-directoryindex-priority-whm\/#primaryimage"},"thumbnailUrl":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/06\/whm_service_configuration.png","datePublished":"2021-12-25T11:35:31+00:00","dateModified":"2021-12-25T14:25:35+00:00","author":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/c9138a9488172a8d0aa2d4f40878d83e"},"description":"This article demonstrates how WHM users with root access can configure the DirectoryIndex priority for their server.","breadcrumb":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/set-directoryindex-priority-whm\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.milesweb.co.uk\/hosting-faqs\/set-directoryindex-priority-whm\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/set-directoryindex-priority-whm\/#primaryimage","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/06\/whm_service_configuration.png","contentUrl":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/06\/whm_service_configuration.png","width":1919,"height":869},{"@type":"BreadcrumbList","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/set-directoryindex-priority-whm\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/"},{"@type":"ListItem","position":2,"name":"How to Set DirectoryIndex Priority in WHM?"}]},{"@type":"WebSite","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/","name":"Web Hosting FAQs by MilesWeb","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Person","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/c9138a9488172a8d0aa2d4f40878d83e","name":"Prasad Khartadkar","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/fafb102a39aa8f8d38a11f3e2dcfa746?s=96&d=blank&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/fafb102a39aa8f8d38a11f3e2dcfa746?s=96&d=blank&r=g","caption":"Prasad Khartadkar"},"description":"Prasad is a business grad specialized in Marketing. He has garnered experience as a technical content writer and a digital marketer that he brings out in his work. He likes reading classics and travel in his free time.","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/author\/prasad-khartadkar\/"}]}},"views":294,"_links":{"self":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/12879","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/users\/27"}],"replies":[{"embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/comments?post=12879"}],"version-history":[{"count":1,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/12879\/revisions"}],"predecessor-version":[{"id":12882,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/12879\/revisions\/12882"}],"wp:attachment":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/media?parent=12879"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/categories?post=12879"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/tags?post=12879"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}