{"id":12079,"date":"2026-07-13T08:33:12","date_gmt":"2026-07-13T06:33:12","guid":{"rendered":"https:\/\/mybox.com\/help\/?post_type=manual_kb&#038;p=12079"},"modified":"2026-07-13T08:33:17","modified_gmt":"2026-07-13T06:33:17","slug":"de-ce-site-ul-meu-afiseaza-indexul-paginii","status":"publish","type":"manual_kb","link":"https:\/\/mybox.com\/help\/ro\/knowledgebase\/why-is-my-website-showing-index-of\/","title":{"rendered":"De ce pe site-ul meu apare \u201cIndex of\u201d?"},"content":{"rendered":"<div class=\"translation-block translation-block-merged\">\n<p class=\"wp-block-paragraph\">If your website displays a page titled <strong>&#8220;Index of&#8221;<\/strong> instead of your usual content, it generally means that the web server cannot find a default page to load. Rather than showing an error, the server displays a list of files and folders that exist in that directory.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This behavior is common after website migrations, manual file uploads, incomplete installations, or changes to your website&#8217;s structure.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_86 ez-toc-wrap-left counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/why-is-my-website-showing-index-of\/#What_does_%E2%80%9CIndex_of%E2%80%9D_mean\" >What does &#8220;Index of&#8221; mean?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/why-is-my-website-showing-index-of\/#Common_causes\" >Common causes<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/why-is-my-website-showing-index-of\/#The_index_file_is_missing\" >The index file is missing<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/why-is-my-website-showing-index-of\/#The_files_were_uploaded_to_the_wrong_folder\" >The files were uploaded to the wrong folder<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/why-is-my-website-showing-index-of\/#The_website_installation_is_incomplete\" >The website installation is incomplete<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/why-is-my-website-showing-index-of\/#Directory_listing_is_enabled\" >Directory listing is enabled<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/why-is-my-website-showing-index-of\/#How_to_investigate_the_issue\" >How to investigate the issue<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/why-is-my-website-showing-index-of\/#What_to_expect\" >What to expect<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_does_%E2%80%9CIndex_of%E2%80%9D_mean\"><\/span>What does &#8220;Index of&#8221; mean?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<\/div>\n\n<div id=\"mybox-1105710609\" class=\"mybox-content mybox-entity-placement\"><div class=\"early-access-banner-inpost\">\r\n  <div class=\"banner-left-inpost\">\r\n    <div class=\"icon-box-inpost\">\r\n      <img decoding=\"async\" src=\"https:\/\/mybox.com\/help\/wp-content\/uploads\/2026\/02\/square-info-icon.svg\" alt=\"Info\">\r\n    <\/div>\r\n    <div class=\"text-box-inpost\">\r\n      <span class=\"label-inpost\"><span class=\"translation-block translation-block-banner-text\">Acces timpuriu<\/span><\/span>\r\n      <h4><span class=\"translation-block translation-block-banner-text\">Mai ave\u021bi nevoie de ajutor?<\/span><\/h4>\r\n      <p><span class=\"translation-block translation-block-banner-text\">Contacta\u021bi echipa noastr\u0103 de servicii pentru clien\u021bi.<\/span><\/p>\r\n    <\/div>\r\n  <\/div>\r\n\r\n  <div class=\"banner-right-inpost\">\r\n    <a href=\"https:\/\/panel.mybox.com\/helpdesk2\/v\/list\/\" class=\"banner-button-inpost\"><span class=\"translation-block translation-block-banner-text\">Trimite mesaj<\/span><\/a>\r\n  <\/div>\r\n<\/div><\/div>\n\n<div class=\"translation-block translation-block-merged\"><p class=\"wp-block-paragraph\">Web servers look for a default file whenever someone visits a website or folder. Depending on the server configuration, this file is often named:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>index.html<\/code><\/li>\n\n\n\n<li><code>index.php<\/code><\/li>\n\n\n\n<li><code>index.htm<\/code><\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">If none of these files are present in the requested directory, the server may generate an &#8220;Index of&#8221; page that lists the available files and subfolders.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For example, instead of loading your homepage, the server may display something similar to:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Index of \/\n\nimages\/\ncss\/\nuploads\/\nbackup.zip\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">This does not necessarily mean that your website files have been deleted. In many cases, the server simply cannot determine which file should be displayed first.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Common_causes\"><\/span>Common causes<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"The_index_file_is_missing\"><\/span>The index file is missing<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The most common cause is that the website&#8217;s main file has been removed, renamed, or uploaded to the wrong location.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Check whether your website directory contains an index file such as:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>index.php<\/code><\/li>\n\n\n\n<li><code>index.html<\/code><\/li>\n\n\n\n<li><code>index.htm<\/code><\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">If the file is missing, restore it from a backup or upload it again.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"The_files_were_uploaded_to_the_wrong_folder\"><\/span>The files were uploaded to the wrong folder<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A website may display an &#8220;Index of&#8221; page if the files were uploaded into a subdirectory instead of the website&#8217;s document root.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>public_html\/\n\u2514\u2500\u2500 website\/\n    \u251c\u2500\u2500 index.php\n    \u2514\u2500\u2500 images\/\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">In this situation, visiting the main domain may show a directory listing because the homepage is stored inside the <code>website<\/code> folder rather than in the correct location.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"The_website_installation_is_incomplete\"><\/span>The website installation is incomplete<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">This issue can occur after:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A website migration.<\/li>\n\n\n\n<li>A failed backup restore.<\/li>\n\n\n\n<li>A manual file upload.<\/li>\n\n\n\n<li>An interrupted installation.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Check whether all website files have been transferred successfully.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Directory_listing_is_enabled\"><\/span>Directory listing is enabled<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Some servers are configured to display a list of files when no index file is present. This feature is known as directory listing.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Although it can be useful in some situations, directory listing is usually disabled on public websites because it may expose files that visitors should not see.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How_to_investigate_the_issue\"><\/span>How to investigate the issue<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If your website unexpectedly shows an &#8220;Index of&#8221; page:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Open your file manager or connect through FTP.<\/li>\n\n\n\n<li>Locate the folder used by your website.<\/li>\n\n\n\n<li>Check whether an index file exists.<\/li>\n\n\n\n<li>Verify that the website files are stored in the correct directory.<\/li>\n\n\n\n<li>Confirm that the installation completed successfully.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">If the issue appeared immediately after migrating or restoring the website, compare the current files with your backup.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_to_expect\"><\/span>What to expect<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Once the correct index file is restored or moved into the appropriate directory, visitors should see the website normally again.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If the website continues to display &#8220;Index of&#8221; even though the files appear to be present, support may ask for additional information, such as the affected domain, recent changes, or screenshots of the file structure.<\/p>\n<\/div>","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"template":"","format":"standard","manualknowledgebasecat":[43],"manual_kb_tag":[],"class_list":["post-12079","manual_kb","type-manual_kb","status-publish","format-standard","hentry","manualknowledgebasecat-website-errors"],"_links":{"self":[{"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/manual_kb\/12079","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/manual_kb"}],"about":[{"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/types\/manual_kb"}],"author":[{"embeddable":true,"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":1,"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/manual_kb\/12079\/revisions"}],"predecessor-version":[{"id":12080,"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/manual_kb\/12079\/revisions\/12080"}],"wp:attachment":[{"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/media?parent=12079"}],"wp:term":[{"taxonomy":"manualknowledgebasecat","embeddable":true,"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/manualknowledgebasecat?post=12079"},{"taxonomy":"manual_kb_tag","embeddable":true,"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/manual_kb_tag?post=12079"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}