{"id":645,"date":"2024-09-01T11:19:05","date_gmt":"2024-09-01T11:19:05","guid":{"rendered":"https:\/\/webhostingdelhi.net.in\/tutorials\/?p=645"},"modified":"2024-09-01T11:19:32","modified_gmt":"2024-09-01T11:19:32","slug":"check-hidden-files-in-cpanel","status":"publish","type":"post","link":"https:\/\/webhostingdelhi.net.in\/tutorials\/check-hidden-files-in-cpanel\/","title":{"rendered":"How to check hidden files in cPanel file manager?"},"content":{"rendered":"\n<p>Check hidden files in cPanel file manager, there are often critical files that are hidden from view by default. These hidden files, known as &#8220;dotfiles&#8221; due to their names beginning with a dot (e.g., <code>.htaccess<\/code>, <code>.env<\/code>), play a crucial role in your website\u2019s configuration, security, and functionality. Whether you&#8217;re a seasoned developer or a website owner looking to make specific adjustments, accessing these hidden files can be essential.<\/p>\n\n\n\n<p>cPanel, one of the <a href=\"https:\/\/www.squarebrothers.com\/web-hosting-india\/\" rel=\"nofollow noopener\" target=\"_blank\">most popular web hosting<\/a> control panels, provides a user-friendly File Manager that allows you to easily manage your website\u2019s files. However, by default, it may not display these hidden files. In this guide, we will walk you through the simple steps to reveal and manage these hidden files in cPanel&#8217;s File Manager, ensuring you have full control over your website\u2019s environment.<\/p>\n\n\n\n<div class=\"wp-block-rank-math-toc-block\" id=\"rank-math-toc\"><h2>Step-by-Step Guide to Viewing Hidden Files in cPanel File Manager<\/h2><nav><ul><li class=\"\"><a href=\"#log-in-to-your-c-panel-account\">Log In to Your cPanel Account:<\/a><\/li><li class=\"\"><a href=\"#access-the-file-manager\">Access the File Manager:<\/a><\/li><li class=\"\"><a href=\"#adjust-file-manager-settings-to-show-hidden-files\">Adjust File Manager Settings to Show Hidden Files:<\/a><\/li><li class=\"\"><a href=\"#check-hidden-files-in-c-panel-file-manager\">Check hidden files in cPanel file manager<\/a><ul><li class=\"\"><a href=\"#why-viewing-hidden-files-might-be-important\">Why Viewing Hidden Files Might Be Important<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"log-in-to-your-c-panel-account\"><strong>Log In to Your cPanel Account:<\/strong><\/h2>\n\n\n\n<p>Begin by logging into your cPanel account. This can typically be done by entering <code>yourdomain.com\/cpanel<\/code> in your web browser and then entering your cPanel username and password. If you&#8217;re unsure of the login details, these are usually provided by your <a href=\"https:\/\/www.webhostingdelhi.net.in\/reseller-hosting-delhi\/#\">web hosting provider<\/a>.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"476\" height=\"403\" src=\"https:\/\/webhostingdelhi.net.in\/tutorials\/wp-content\/uploads\/2024\/04\/image-19.png\" alt=\"setup spam filter in cpanel\" class=\"wp-image-398\" srcset=\"https:\/\/webhostingdelhi.net.in\/tutorials\/wp-content\/uploads\/2024\/04\/image-19.png 476w, https:\/\/webhostingdelhi.net.in\/tutorials\/wp-content\/uploads\/2024\/04\/image-19-300x254.png 300w\" sizes=\"auto, (max-width: 476px) 100vw, 476px\" \/><\/figure>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\" id=\"access-the-file-manager\"><strong>Access the File Manager:<\/strong><\/h2>\n\n\n\n<p>Once you\u2019re inside your cPanel dashboard, you\u2019ll see a variety of icons representing different tools and features. To manage your website\u2019s files, look for the <strong>File Manager<\/strong> icon, which is usually found under the \u201cFiles\u201d section. Click on it to open the File Manager interface.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"712\" height=\"249\" src=\"https:\/\/webhostingdelhi.net.in\/tutorials\/wp-content\/uploads\/2024\/09\/Snag_6d604e.png\" alt=\"\" class=\"wp-image-646\" srcset=\"https:\/\/webhostingdelhi.net.in\/tutorials\/wp-content\/uploads\/2024\/09\/Snag_6d604e.png 712w, https:\/\/webhostingdelhi.net.in\/tutorials\/wp-content\/uploads\/2024\/09\/Snag_6d604e-300x105.png 300w\" sizes=\"auto, (max-width: 712px) 100vw, 712px\" \/><\/figure>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\" id=\"adjust-file-manager-settings-to-show-hidden-files\"><strong>Adjust File Manager Settings to Show Hidden Files:<\/strong><\/h2>\n\n\n\n<p>The File Manager, by default, may not display certain files, especially those that are considered \u201chidden.\u201d These hidden files typically start with a dot (.)\u2014for example, <code>.htaccess<\/code>, <code>.env<\/code>, <code>.git<\/code>, etc. These files are often crucial for your website\u2019s configuration but are hidden to prevent accidental deletion or modification. To make sure these hidden files are visible:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Look towards the upper right-hand corner of the File Manager window, and click on the <strong>Settings<\/strong> button. This button is usually represented by a gear icon.<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"533\" height=\"48\" src=\"https:\/\/webhostingdelhi.net.in\/tutorials\/wp-content\/uploads\/2024\/09\/Snag_6e49d3.png\" alt=\"\" class=\"wp-image-647\" srcset=\"https:\/\/webhostingdelhi.net.in\/tutorials\/wp-content\/uploads\/2024\/09\/Snag_6e49d3.png 533w, https:\/\/webhostingdelhi.net.in\/tutorials\/wp-content\/uploads\/2024\/09\/Snag_6e49d3-300x27.png 300w\" sizes=\"auto, (max-width: 533px) 100vw, 533px\" \/><\/figure>\n<\/div>\n\n\n<ul class=\"wp-block-list\">\n<li>A pop-up window titled <strong>Preferences<\/strong> will appear. In this window, you\u2019ll see an option labeled <strong>&#8220;Show Hidden Files (dotfiles)&#8221;<\/strong>. This option is typically accompanied by a checkbox.<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Enable Hidden Files:<\/strong><\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>To view hidden files, simply check the box next to <strong>&#8220;Show Hidden Files (dotfiles)&#8221;<\/strong>.<\/li>\n\n\n\n<li>After selecting this option, click the <strong>Save<\/strong> button at the bottom of the pop-up window.<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"498\" height=\"332\" src=\"https:\/\/webhostingdelhi.net.in\/tutorials\/wp-content\/uploads\/2024\/09\/Snag_6f41c0.png\" alt=\"Check hidden files in cPanel\" class=\"wp-image-648\" srcset=\"https:\/\/webhostingdelhi.net.in\/tutorials\/wp-content\/uploads\/2024\/09\/Snag_6f41c0.png 498w, https:\/\/webhostingdelhi.net.in\/tutorials\/wp-content\/uploads\/2024\/09\/Snag_6f41c0-300x200.png 300w\" sizes=\"auto, (max-width: 498px) 100vw, 498px\" \/><\/figure>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\" id=\"check-hidden-files-in-c-panel-file-manager\"><strong>Check hidden files in cPanel file manager<\/strong><\/h2>\n\n\n\n<p>Once you\u2019ve enabled the display of hidden files, the File Manager will refresh, and Check hidden files in cPanel. you\u2019ll now see all files, including those that were previously hidden. These files might be located in the root directory of your website or within specific folders. You can now view, edit, or manage these files as needed, just like any other file in your File Manager.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"why-viewing-hidden-files-might-be-important\">Why Viewing Hidden Files Might Be Important<\/h3>\n\n\n\n<p>Check hidden files in cPanel website\u2019s directory can play critical roles in the functionality and security of your site. For example:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>.htaccess<\/strong>: This is a powerful configuration file that can control access to your site, redirect URLs, and more.<\/li>\n\n\n\n<li><strong>.env<\/strong>: This file might contain environment variables, which are often used to manage database credentials, API keys, and other sensitive information.<\/li>\n<\/ul>\n\n\n\n<p>By enabling the display of hidden files, you gain complete control over your website\u2019s environment, can check hidden files in cPanel and troubleshoot issues, optimize performance, or implement security measures. However, it&#8217;s important to handle these files with care, as incorrect modifications can lead to significant problems on your site.<\/p>\n\n\n\n<p>After check hidden files in cPanel, If you ever need to hide these files again, simply revisit the <strong>Settings<\/strong> in File Manager and uncheck the <strong>&#8220;Show Hidden Files (dotfiles)&#8221;<\/strong> option.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Check hidden files in cPanel file manager, there are often critical files that are hidden from view by default. These hidden files, known as &#8220;dotfiles&#8221; due to their names beginning with a dot (e.g., .htaccess, .env), play a crucial role in your website\u2019s configuration, security, and functionality. Whether you&#8217;re a seasoned developer or a website [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":650,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[37],"tags":[62],"class_list":["post-645","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cpanel","tag-check-hidden-files-in-cpanel"],"_links":{"self":[{"href":"https:\/\/webhostingdelhi.net.in\/tutorials\/wp-json\/wp\/v2\/posts\/645","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webhostingdelhi.net.in\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webhostingdelhi.net.in\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webhostingdelhi.net.in\/tutorials\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/webhostingdelhi.net.in\/tutorials\/wp-json\/wp\/v2\/comments?post=645"}],"version-history":[{"count":2,"href":"https:\/\/webhostingdelhi.net.in\/tutorials\/wp-json\/wp\/v2\/posts\/645\/revisions"}],"predecessor-version":[{"id":651,"href":"https:\/\/webhostingdelhi.net.in\/tutorials\/wp-json\/wp\/v2\/posts\/645\/revisions\/651"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webhostingdelhi.net.in\/tutorials\/wp-json\/wp\/v2\/media\/650"}],"wp:attachment":[{"href":"https:\/\/webhostingdelhi.net.in\/tutorials\/wp-json\/wp\/v2\/media?parent=645"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webhostingdelhi.net.in\/tutorials\/wp-json\/wp\/v2\/categories?post=645"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webhostingdelhi.net.in\/tutorials\/wp-json\/wp\/v2\/tags?post=645"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}