{"id":35302,"date":"2026-08-18T09:15:44","date_gmt":"2026-08-18T09:15:44","guid":{"rendered":"https:\/\/1grid.co.za\/knowledge\/?post_type=ht_kb&#038;p=35302"},"modified":"2026-08-18T09:15:49","modified_gmt":"2026-08-18T09:15:49","slug":"how-to-view-hidden-files-htaccess-in-cpanel-with-1-grid","status":"publish","type":"ht_kb","link":"https:\/\/1grid.co.za\/knowledge\/how-to-view-hidden-files-htaccess-in-cpanel-with-1-grid\/","title":{"rendered":"How to View Hidden Files (.htaccess) in cPanel with 1-grid"},"content":{"rendered":"\n<h4 id=\"htoc-unhide-essential-configuration-dotfiles-within-file-manager-to-securely-troubleshoot-redirect-or-edit-platform-settings\" class=\"wp-block-heading\">Unhide essential configuration &#8220;dotfiles&#8221; within File Manager to securely troubleshoot, redirect, or edit platform settings.<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">This guide will help you view hidden files in cPanel, including important configuration files such as <code>.htaccess<\/code>, <code>.env<\/code>, and <code>.user.ini<\/code>. By the end of this guide, you&#8217;ll be able to locate hidden files in File Manager and access website configuration files when troubleshooting, configuring redirects, improving security, or managing WordPress settings. Enabling their visibility is perfectly safe and only changes what you see in File Manager, not how your website operates on your 1-grid Customer Zone hosting account.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1600\" height=\"600\" src=\"https:\/\/1grid.co.za\/knowledge\/wp-content\/uploads\/2026\/08\/1-grid-Images-for-KB-Articles-1000-x-600-px-61.png\" alt=\"How to View Hidden Files (.htaccess) in cPanel | 1-grid \" class=\"wp-image-35304\"\/><\/figure>\n<\/div>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<div class=\"wp-block-ht-block-toc is-style-rounded htoc htoc--position-wide toc-list-style-plain\" data-htoc-state=\"expanded\"><span class=\"htoc__title\"><span class=\"ht_toc_title\">Table of Contents<\/span><span class=\"htoc__toggle\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"16\" height=\"16\"><g fill=\"#444\"><path d=\"M15 7H1c-.6 0-1 .4-1 1s.4 1 1 1h14c.6 0 1-.4 1-1s-.4-1-1-1z\"><\/path><path d=\"M15 1H1c-.6 0-1 .4-1 1s.4 1 1 1h14c.6 0 1-.4 1-1s-.4-1-1-1zM15 13H1c-.6 0-1 .4-1 1s.4 1 1 1h14c.6 0 1-.4 1-1s-.4-1-1-1z\"><\/path><\/g><\/svg><\/span><\/span><div class=\"htoc__itemswrap\"><ul class=\"ht_toc_list\"><li class=\"\"><a href=\"#htoc-before-you-begin1\">Before You Begin<\/a><\/li><li class=\"\"><a href=\"#htoc-follow-these-steps1\">Follow These Steps<\/a><ul class=\"ht_toc_child_list\"><\/ul><\/li><li class=\"\"><a href=\"#htoc-what-happens-next1\">What Happens Next?<\/a><\/li><li class=\"\"><a href=\"#htoc-important-things-to-know1\">Important Things to Know<\/a><\/li><li class=\"\"><a href=\"#htoc-common-mistakes-to-avoid1\">Common Mistakes to Avoid<\/a><\/li><li class=\"\"><a href=\"#htoc-if-this-didn-t-work1\">If This Didn&#8217;t Work<\/a><\/li><li class=\"\"><a href=\"#htoc-you-re-ready1\">You\u2019re Ready!<\/a><\/li><li class=\"\"><a href=\"#htoc-related-articles1\">Related Articles<\/a><\/li><li class=\"\"><a href=\"#htoc-need-help1\">Need Help?<\/a><\/li><\/ul><\/div><\/div>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 id=\"htoc-before-you-begin1\" class=\"wp-block-heading\">Before You Begin<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Before attempting to expose hidden environment files, make sure you have:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li id=\"htoc-access-to-your-1-grid-client-area\">Access to your <strong>1-grid Customer Zone<\/strong><\/li>\n\n\n\n<li id=\"htoc-an-active-legacy-web-hosting-account-running-cpanel\">An active legacy web hosting account running <strong>cPanel<\/strong><\/li>\n\n\n\n<li id=\"htoc-the-specific-domain-name-directory-root-you-wish-to-inspect\">The specific <strong>domain name directory root<\/strong> you wish to inspect<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\ud83d\udca1 <em><strong>Context: <\/strong>Some website files are hidden by default because they contain vital script, server, or application settings. These files usually begin with a period (.) and are commonly called &#8220;dotfiles&#8221; (e.g., .htaccess, .env, .user.ini). They are typically utilised to force HTTPS, configure custom redirect pathways, or handle WordPress permalinks.<\/em><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 id=\"htoc-follow-these-steps1\" class=\"wp-block-heading\">Follow These Steps<\/h2>\n\n\n\n<h4 id=\"htoc-1-open-cpanel\" class=\"wp-block-heading\">1. Open cPanel<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/1grid.co.za\/knowledge\/how-to-log-in-to-cpanel-via-your-1-grid-customer-zone\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Log in<\/strong><\/a> to your <a href=\"https:\/\/1-grid.com\/client\/index.php?rp=\/login\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>1-grid Customer Zone<\/strong><\/a>, locate the web hosting service associated with your target domain name, and select <strong>Login to cPanel<\/strong>.<\/p>\n\n\n\n<h4 id=\"htoc-2-open-file-manager\" class=\"wp-block-heading\">2. Open File Manager<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">Once inside cPanel, navigate down to the <strong>Files<\/strong> section block and click <strong>File Manager<\/strong>.<\/p>\n\n\n\n<h4 id=\"htoc-3-enable-hidden-files-from-the-initial-window\" class=\"wp-block-heading\">3. Enable Hidden Files from the Initial Window<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\"><em>If a directory selection pop-up window prompts you before loading the directory view:<\/em><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li id=\"htoc-select-your-target-website-directory-root-path-list\">Select your target website directory root path list.<\/li>\n\n\n\n<li id=\"htoc-check-the-box-labeled-show-hidden-files-dotfiles\">Check the box labelled <strong>Show Hidden Files (dotfiles)<\/strong>.<\/li>\n\n\n\n<li id=\"htoc-click-go-to-launch-your-dashboard-containing-your-unhidden-files\">Click <strong>Go<\/strong> to launch your dashboard containing your unhidden files.<\/li>\n<\/ul>\n\n\n\n<h4 id=\"htoc-4-enable-hidden-files-from-file-manager-settings\" class=\"wp-block-heading\">4. Enable Hidden Files from File Manager Settings<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\"><em>If the File Manager interface loads your folders directly without a pop-up window:<\/em><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li id=\"htoc-locate-and-click-the-settings-gear-icon-button-in-the-top-right-header-area\">Locate and click the <strong>Settings<\/strong> gear icon button in the top-right header area.<\/li>\n\n\n\n<li id=\"htoc-locate-the-show-hidden-files-dotfiles-configuration-option-checkbox\">Locate the <strong>Show Hidden Files (dotfiles)<\/strong> configuration option checkbox.<\/li>\n\n\n\n<li id=\"htoc-check-the-box-and-click-save-hidden-files-will-instantly-populate-across-your-folder-maps\">Check the box and click <strong>Save<\/strong>. Hidden files will instantly populate across your folder maps.<\/li>\n<\/ul>\n\n\n\n<h4 id=\"htoc-5-locate-the-htaccess-file\" class=\"wp-block-heading\">5. Locate the .htaccess File<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">Navigate to your primary site root folder, which is commonly named <strong>public_html<\/strong>. Look for the file titled exactly <code>.htaccess<\/code>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\ud83d\udca1<em> <strong>Tip:<\/strong> If you need to change its contents, right-click the file line item and select <strong>Edit<\/strong> or <strong>Code Editor<\/strong> to launch your text window inputs safely.<\/em><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 id=\"htoc-what-happens-next1\" class=\"wp-block-heading\">What Happens Next?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Once saved, File Manager refreshes your screen tree structure instantly.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li id=\"htoc-visibility-active-all-system-configurations-developer-env-variables-and-security-rules-will-display-cleanly-with-a-period-symbol-preceding-their-names\"><strong>Visibility Active:<\/strong> All system configurations, developer <code>.env<\/code> variables, and security rules will display cleanly with a period symbol preceding their names.<\/li>\n\n\n\n<li id=\"htoc-technical-stability-simply-looking-up-these-parameters-does-not-change-website-features-until-you-physically-rewrite-code-inside-the-files\"><strong>Technical Stability:<\/strong> Simply looking up these parameters does not change website features until you physically rewrite code inside the files.<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 id=\"htoc-important-things-to-know1\" class=\"wp-block-heading\">Important Things to Know<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li id=\"htoc-hidden-for-security-reasons-dotfiles-control-root-server-responses-exercise-caution-when-altering-lines-to-avoid-locking-out-website-browsers\"><strong>Hidden for Security Reasons:<\/strong> Dotfiles control root server responses. Exercise caution when altering lines to avoid locking out website browsers.<\/li>\n\n\n\n<li id=\"htoc-non-existent-defaults-certain-clean-app-installations-or-brand-new-websites-do-not-automatically-generate-a-htaccess-file-until-a-plugin-or-manual-rule-requires-it-you-can-manually-build-one-by-naming-a-blank-file-exactly-htaccess\"><strong>Non-Existent Defaults:<\/strong> Certain clean app installations or brand new websites do not automatically generate a <code>.htaccess<\/code> file until a plugin or manual rule requires it. You can manually build one by naming a blank file exactly <code>.htaccess<\/code>.<\/li>\n\n\n\n<li id=\"htoc-the-error-threat-typing-typos-or-bad-syntax-inside-server-level-configuration-files-will-instantly-throw-internal-server-errors-http-500-or-crash-your-redirect-strings-always-extract-a-local-text-backup-before-typing-modifications\"><strong>The Error Threat:<\/strong> Typing typos or bad syntax inside server-level configuration files will instantly throw internal server errors (HTTP 500) or crash your redirect strings. Always extract a local text backup before typing modifications.<\/li>\n\n\n\n<li id=\"htoc-file-permissions-matter-to-balance-accessibility-and-system-folder-security-ensure-your-htaccess-file-properties-maintain-a-strict-file-permission-level-of-644\"><strong>File Permissions Matter:<\/strong> To balance accessibility and system folder security, ensure your <code>.htaccess<\/code> file properties maintain a strict file permission level of <strong>644<\/strong>.<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 id=\"htoc-common-mistakes-to-avoid1\" class=\"wp-block-heading\">Common Mistakes to Avoid<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li id=\"htoc-assuming-your-developer-deleted-your-web-configurations-when-they-are-simply-hidden-by-default-layout-configurations\">Assuming your developer deleted your web configurations when they are simply hidden by default layout configurations.<\/li>\n\n\n\n<li id=\"htoc-overwriting-code-paths-or-deploying-system-changes-without-downloading-a-local-backup-copy-file-first\">Overwriting code paths or deploying system changes without downloading a local backup copy file first.<\/li>\n\n\n\n<li id=\"htoc-naming-manual-text-backups-htaccess-txt-or-forgetting-the-mandatory-starting-period-syntax-when-building-files-from-scratch\">Naming manual text backups &#8220;htaccess.txt&#8221; or forgetting the mandatory starting period syntax when building files from scratch.<\/li>\n\n\n\n<li id=\"htoc-modifying-multiple-nested-server-parameters-at-the-same-exact-time-without-testing-individual-website-responses\">Modifying multiple nested server parameters at the same exact time without testing individual website responses.<\/li>\n\n\n\n<li id=\"htoc-saving-modifications-to-an-alternate-domain-folder-root-instead-of-your-intended-public-directory\">Saving modifications to an alternate domain folder root instead of your intended public directory.<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 id=\"htoc-if-this-didn-t-work1\" class=\"wp-block-heading\">If This Didn&#8217;t Work<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If configuration strings fail to render on screen after saving your menu modifications, click refresh on your browser or log out and back into cPanel to clear localised storage parameters. Ensure you are looking at the true directory route connected to your live URL domain name mapping.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 id=\"htoc-you-re-ready1\" class=\"wp-block-heading\">You\u2019re Ready!<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Your cPanel File Manager is fully configured to display hidden files. Managing and tracking your backend dotfiles allows you to debug your apps, configure secure updates, and deploy platform adjustments with complete control.<\/p>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link has-theme-default-background-color has-background wp-element-button\" href=\"https:\/\/1-grid.com\/client\/index.php?rp=\/login\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Log In to Customer Zone &amp; View Hidden Files Now<\/strong><\/a><\/div>\n<\/div>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 id=\"htoc-related-articles1\" class=\"wp-block-heading\">Related Articles<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li id=\"htoc-how-to-access-file-manager-in-cpanel\"><a href=\"https:\/\/1grid.co.za\/knowledge\/how-to-modify-php-settings-through-htaccess\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>How to Modify PHP Settings Through .htaccess<\/strong><\/a><\/li>\n\n\n\n<li id=\"htoc-how-to-force-https-using-cpanel\"><a href=\"https:\/\/1grid.co.za\/knowledge\/how-to-redirect-your-website-to-https-with-1grid\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>How to Redirect Your Website to HTTPS with 1-grid\u00a0<\/strong><\/a><\/li>\n\n\n\n<li id=\"htoc-how-to-manage-file-permissions-in-cpanel\"><a href=\"https:\/\/1grid.co.za\/knowledge\/cpanel-understanding-file-permissions\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Understanding File Permissions in cPanel<\/strong><\/a><\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 id=\"htoc-need-help1\" class=\"wp-block-heading\">Need Help?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If you still cannot locate your <code>.htaccess<\/code> file after enabling hidden metrics, or if editing your configurations breaks your site functionality, <a href=\"https:\/\/1grid.co.za\/contact-us\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>contact us<\/strong><\/a>. Our support team is ready to help.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To help us investigate, please provide:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li id=\"htoc-your-primary-domain-name-and-active-web-hosting-account-details\">Your primary <strong>domain name<\/strong> and active web hosting account details<\/li>\n\n\n\n<li id=\"htoc-the-explicit-folder-directory-path-you-are-modifying\">The explicit <strong>folder directory path<\/strong> you are modifying<\/li>\n\n\n\n<li id=\"htoc-a-screenshot-of-your-file-manager-workspace-view\">A <strong>screenshot of your File Manager workspace view<\/strong><\/li>\n\n\n\n<li id=\"htoc-any-systemic-error-messages-visible-on-your-screen-layout\">Any systemic <strong>error messages<\/strong> visible on your screen layout<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n","protected":false},"excerpt":{"rendered":"<p>Unhide essential configuration &#8220;dotfiles&#8221; within File Manager to securely troubleshoot, redirect, or edit platform settings. This guide will help you view hidden files in cPanel, including important configuration files such as .htaccess, .env, and .user.ini. By the end of this guide, you&#8217;ll be able to locate hidden files in File&#8230;<\/p>\n","protected":false},"author":21,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"ht-kb-category":[1198],"ht-kb-tag":[32,238,1951,404,1975,470,891,1959,1150],"class_list":["post-35302","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-cpanel","ht_kb_tag-htaccess","ht_kb_tag-cpanel","ht_kb_tag-file-management","ht_kb_tag-file-manager","ht_kb_tag-hidden-files","ht_kb_tag-hosting","ht_kb_tag-security","ht_kb_tag-website-configuration","ht_kb_tag-wordpress"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to View Hidden Files (.htaccess) in cPanel | 1-grid<\/title>\n<meta name=\"description\" content=\"Learn how to view hidden files such as .htaccess in cPanel File Manager and safely access important website configuration files.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/1grid.co.za\/knowledge\/how-to-view-hidden-files-htaccess-in-cpanel-with-1-grid\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to View Hidden Files (.htaccess) in cPanel | 1-grid\" \/>\n<meta property=\"og:description\" content=\"Learn how to view hidden files such as .htaccess in cPanel File Manager and safely access important website configuration files.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/1grid.co.za\/knowledge\/how-to-view-hidden-files-htaccess-in-cpanel-with-1-grid\/\" \/>\n<meta property=\"og:site_name\" content=\"1-grid Knowledge Base\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/1grid.co.za\/\" \/>\n<meta property=\"article:modified_time\" content=\"2026-08-18T09:15:49+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/1grid.co.za\/knowledge\/wp-content\/uploads\/2026\/08\/1-grid-Images-for-KB-Articles-1000-x-600-px-61.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@1grid_hosting\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/1grid.co.za\/knowledge\/how-to-view-hidden-files-htaccess-in-cpanel-with-1-grid\/\",\"url\":\"https:\/\/1grid.co.za\/knowledge\/how-to-view-hidden-files-htaccess-in-cpanel-with-1-grid\/\",\"name\":\"How to View Hidden Files (.htaccess) in cPanel | 1-grid\",\"isPartOf\":{\"@id\":\"https:\/\/1grid.co.za\/knowledge\/#website\"},\"datePublished\":\"2026-08-18T09:15:44+00:00\",\"dateModified\":\"2026-08-18T09:15:49+00:00\",\"description\":\"Learn how to view hidden files such as .htaccess in cPanel File Manager and safely access important website configuration files.\",\"breadcrumb\":{\"@id\":\"https:\/\/1grid.co.za\/knowledge\/how-to-view-hidden-files-htaccess-in-cpanel-with-1-grid\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/1grid.co.za\/knowledge\/how-to-view-hidden-files-htaccess-in-cpanel-with-1-grid\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/1grid.co.za\/knowledge\/how-to-view-hidden-files-htaccess-in-cpanel-with-1-grid\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/1grid.co.za\/knowledge\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to View Hidden Files (.htaccess) in cPanel with 1-grid\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/1grid.co.za\/knowledge\/#website\",\"url\":\"https:\/\/1grid.co.za\/knowledge\/\",\"name\":\"1-Grid Domain Hosting Knowledge Base\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/1grid.co.za\/knowledge\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/1grid.co.za\/knowledge\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/1grid.co.za\/knowledge\/#organization\",\"name\":\"1-Grid Domain Hosting Knowledge Base\",\"url\":\"https:\/\/1grid.co.za\/knowledge\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/1grid.co.za\/knowledge\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/1grid.co.za\/knowledge\/wp-content\/uploads\/2023\/01\/1-grid-logo-color.svg\",\"contentUrl\":\"https:\/\/1grid.co.za\/knowledge\/wp-content\/uploads\/2023\/01\/1-grid-logo-color.svg\",\"width\":100,\"height\":100,\"caption\":\"1-Grid Domain Hosting Knowledge Base\"},\"image\":{\"@id\":\"https:\/\/1grid.co.za\/knowledge\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/1grid.co.za\/\",\"https:\/\/twitter.com\/1grid_hosting\",\"https:\/\/www.instagram.com\/1grid_hosting\/\",\"https:\/\/za.linkedin.com\/company\/1-grid\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to View Hidden Files (.htaccess) in cPanel | 1-grid","description":"Learn how to view hidden files such as .htaccess in cPanel File Manager and safely access important website configuration files.","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:\/\/1grid.co.za\/knowledge\/how-to-view-hidden-files-htaccess-in-cpanel-with-1-grid\/","og_locale":"en_US","og_type":"article","og_title":"How to View Hidden Files (.htaccess) in cPanel | 1-grid","og_description":"Learn how to view hidden files such as .htaccess in cPanel File Manager and safely access important website configuration files.","og_url":"https:\/\/1grid.co.za\/knowledge\/how-to-view-hidden-files-htaccess-in-cpanel-with-1-grid\/","og_site_name":"1-grid Knowledge Base","article_publisher":"https:\/\/www.facebook.com\/1grid.co.za\/","article_modified_time":"2026-08-18T09:15:49+00:00","og_image":[{"url":"https:\/\/1grid.co.za\/knowledge\/wp-content\/uploads\/2026\/08\/1-grid-Images-for-KB-Articles-1000-x-600-px-61.png"}],"twitter_card":"summary_large_image","twitter_site":"@1grid_hosting","twitter_misc":{"Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/1grid.co.za\/knowledge\/how-to-view-hidden-files-htaccess-in-cpanel-with-1-grid\/","url":"https:\/\/1grid.co.za\/knowledge\/how-to-view-hidden-files-htaccess-in-cpanel-with-1-grid\/","name":"How to View Hidden Files (.htaccess) in cPanel | 1-grid","isPartOf":{"@id":"https:\/\/1grid.co.za\/knowledge\/#website"},"datePublished":"2026-08-18T09:15:44+00:00","dateModified":"2026-08-18T09:15:49+00:00","description":"Learn how to view hidden files such as .htaccess in cPanel File Manager and safely access important website configuration files.","breadcrumb":{"@id":"https:\/\/1grid.co.za\/knowledge\/how-to-view-hidden-files-htaccess-in-cpanel-with-1-grid\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/1grid.co.za\/knowledge\/how-to-view-hidden-files-htaccess-in-cpanel-with-1-grid\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/1grid.co.za\/knowledge\/how-to-view-hidden-files-htaccess-in-cpanel-with-1-grid\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/1grid.co.za\/knowledge\/"},{"@type":"ListItem","position":2,"name":"How to View Hidden Files (.htaccess) in cPanel with 1-grid"}]},{"@type":"WebSite","@id":"https:\/\/1grid.co.za\/knowledge\/#website","url":"https:\/\/1grid.co.za\/knowledge\/","name":"1-Grid Domain Hosting Knowledge Base","description":"","publisher":{"@id":"https:\/\/1grid.co.za\/knowledge\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/1grid.co.za\/knowledge\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/1grid.co.za\/knowledge\/#organization","name":"1-Grid Domain Hosting Knowledge Base","url":"https:\/\/1grid.co.za\/knowledge\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/1grid.co.za\/knowledge\/#\/schema\/logo\/image\/","url":"https:\/\/1grid.co.za\/knowledge\/wp-content\/uploads\/2023\/01\/1-grid-logo-color.svg","contentUrl":"https:\/\/1grid.co.za\/knowledge\/wp-content\/uploads\/2023\/01\/1-grid-logo-color.svg","width":100,"height":100,"caption":"1-Grid Domain Hosting Knowledge Base"},"image":{"@id":"https:\/\/1grid.co.za\/knowledge\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/1grid.co.za\/","https:\/\/twitter.com\/1grid_hosting","https:\/\/www.instagram.com\/1grid_hosting\/","https:\/\/za.linkedin.com\/company\/1-grid"]}]}},"_links":{"self":[{"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/ht-kb\/35302","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/users\/21"}],"replies":[{"embeddable":true,"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/comments?post=35302"}],"version-history":[{"count":2,"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/ht-kb\/35302\/revisions"}],"predecessor-version":[{"id":35307,"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/ht-kb\/35302\/revisions\/35307"}],"wp:attachment":[{"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/media?parent=35302"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/ht-kb-category?post=35302"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/ht-kb-tag?post=35302"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}