{"id":253,"date":"2023-10-06T08:39:39","date_gmt":"2023-10-06T08:39:39","guid":{"rendered":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/?p=253"},"modified":"2023-10-09T12:21:15","modified_gmt":"2023-10-09T12:21:15","slug":"How-to-Find-the-Missing-htaccess-File","status":"publish","type":"post","link":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/253\/How-to-Find-the-Missing-htaccess-File.html","title":{"rendered":"How to Find the Missing htaccess File?"},"content":{"rendered":"<div class=\"kb-article-content\">\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">This is a common question among beginners. For some reason, they cannot find their .htaccess file.&nbsp;<\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">With this knowledgebase, we will understand \u201cWhy is your .htaccess file not showing up and what steps must you take?<\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">You can find the .htaccess file in the Root folder of the following 3 platforms:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">In cPanel<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">In FileZilla FTP, and&nbsp;<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-family: verdana, geneva, sans-serif;\"><span style=\"font-weight: 400;\">On the WordPress website.<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><\/span><\/li>\n<\/ul>\n<h2><span style=\"font-family: verdana, geneva, sans-serif;\"><strong>What is a .htaccess File?<\/strong><\/span><\/h2>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">It is important to understand that .htaccess is a powerful web-based file that controls a website&#8217;s high-level configuration and operation. With its help, you can modify the settings of your website without editing the server configuration files. Your .htaccess file is present in the Root folder of your website.<\/span><\/p>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><span style=\"font-weight: 400;\">Now that we have accepted that .htaccess is an important file, it is more than necessary to understand <\/span><em><span style=\"font-weight: 400;\">how to find the htaccess file<\/span><\/em><span style=\"font-weight: 400;\">.<\/span><\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">Before going to a way of finding an htaccess file, It is important to know the reason for not showing a file.<\/span><\/p>\n<hr style=\"border-top: 1px dashed #8c8b8b;\">\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><strong>Also Read: <\/strong><a href=\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/229\/How-to-Take-Backup-of-Emails-from-cPanel.html\"><strong>How to Take Backup of Emails from cPanel<\/strong><\/a><\/span><\/p>\n<hr style=\"border-top: 1px dashed #8c8b8b;\">\n<h2><span style=\"font-family: verdana, geneva, sans-serif;\"><strong>Why is Your htaccess File Not Showing?<\/strong><\/span><\/h2>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">It is important to understand that .htaccess is a powerful web-based file that controls a website&#8217;s high-level configuration and operation. With its help, you can modify the settings of your website without editing the server configuration files. Your .htaccess file is present in the Root folder of your website.<\/span><\/p>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><span style=\"font-weight: 400;\">Now that we have accepted that .htaccess is an important file, it is more than necessary to understand <\/span><em><span style=\"font-weight: 400;\">how to find the htaccess file<\/span><\/em><span style=\"font-weight: 400;\">.<\/span><\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">Predominantly, there are only 2 reasons that limit you from finding the .htaccess file.<\/span><\/p>\n<ol style=\"font-weight: 400;\">\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-family: verdana, geneva, sans-serif;\"><span style=\"font-weight: 400;\">Either your File Manager (software) has hidden the file&nbsp;<br \/>\n<\/span><span style=\"font-weight: 400;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;OR<\/span><\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\"><span style=\"font-weight: 400;\">The file does not exist at all.<br \/>\n<\/span><\/span><\/li>\n<\/ol>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><em><span style=\"font-weight: 400;\">Note: The dot before the htaccess file indicates that this file type is a hidden one by default.<\/span><\/em><\/span><\/p>\n<hr style=\"border-top: 1px dashed #8c8b8b;\">\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><strong>Also Read: <\/strong><a href=\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/249\/How-to-Create-a-PHPinfo-File-and-View-PHP-Information.html\"><strong>How to Create a PHPinfo File and View PHP Information?<\/strong><\/a><\/span><\/p>\n<hr style=\"border-top: 1px dashed #8c8b8b;\">\n<h2><span style=\"font-family: verdana, geneva, sans-serif;\"><strong>Why is Your htaccess file not showing in cPanel? &#8211; How to Show Hidden File?<\/strong><\/span><\/h2>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">If the cPanel\u2019s File Manager does not display automatically, you must not consider that your htaccess is missing from the cPanel. The .htaccess file stays hidden by default.<\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">You must follow the steps below to unhide your .htaccess file.<\/span><\/p>\n<ol style=\"font-weight: 400;\">\n<li><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\"><span style=\"font-family: verdana, geneva, sans-serif;\"><span style=\"font-weight: 400;\">Sign in to your cPanel account.<\/span><\/span><\/span><span style=\"font-family: verdana, geneva, sans-serif;\"><span style=\"font-weight: 400;\"><img loading=\"lazy\" decoding=\"async\" style=\"display: block; margin-left: auto; margin-right: auto; max-width: 100%; height: auto;\" src=\"https:\/\/www.hostitsmart.com\/manage\/images\/kb\/323_Sign-in-cPanel.png\" alt=\"Sign in cPanel\" width=\"405\" height=\"383\"><br \/>\n<\/span><\/span><\/li>\n<li><span style=\"font-family: verdana, geneva, sans-serif;\"><span style=\"font-weight: 400;\">To access the files, open File Manager.&nbsp;<\/span><\/span><span style=\"font-family: verdana, geneva, sans-serif;\"><img loading=\"lazy\" decoding=\"async\" style=\"display: block; margin-left: auto; margin-right: auto; max-width: 100%; height: auto;\" src=\"https:\/\/www.hostitsmart.com\/manage\/images\/kb\/324_File-Manager.png\" alt=\"File Manager\" width=\"790\" height=\"314\"><br \/>\n<\/span><\/li>\n<li><span style=\"font-family: verdana, geneva, sans-serif;\"><span style=\"font-weight: 400;\">Locate the Settings button present in the top-right area of the File Manager.<br \/>\n<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><\/span><span style=\"font-family: verdana, geneva, sans-serif;\"><span style=\"font-weight: 400;\"><img loading=\"lazy\" decoding=\"async\" style=\"max-width: 100%; height: auto; display: block; margin-left: auto; margin-right: auto;\" src=\"https:\/\/www.hostitsmart.com\/manage\/images\/kb\/313_Locate-the-Settings-button.png\" alt=\"Locate the Settings button\" width=\"525\" height=\"51\"><br \/>\n<\/span><\/span><\/li>\n<li><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">Visit the Preferences window. Click to select the option \u201cShow Hidden Files (dotfiles).\u201d<img loading=\"lazy\" decoding=\"async\" style=\"max-width: 100%; height: auto; display: block; margin-left: auto; margin-right: auto;\" src=\"https:\/\/www.hostitsmart.com\/manage\/images\/kb\/314_Show-Hidden-Files.png\" alt=\"Show Hidden Files\" width=\"501\" height=\"339\"><br \/>\n<\/span><\/li>\n<li><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">Click on the Save button to make your changes effective.<img loading=\"lazy\" decoding=\"async\" style=\"max-width: 100%; height: auto; display: block; margin-left: auto; margin-right: auto;\" src=\"https:\/\/www.hostitsmart.com\/manage\/images\/kb\/325_Show-Hidden-Files-save.png\" alt=\"Show Hidden Files save\" width=\"498\" height=\"335\"><br \/>\n<\/span><\/li>\n<\/ol>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">You can now see all the hidden files (including .htaccess files) in your cPanel\u2019s File Manager.<\/span><\/p>\n<h2><span style=\"font-family: verdana, geneva, sans-serif;\"><strong>Why is your htaccess file not showing in Filezilla FTP?<\/strong><\/span><\/h2>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><strong><span style=\"font-weight: 400;\">Here are the simple steps you must follow to see your .htaccess file in Filezilla FTP:<\/span><\/strong><\/span><\/p>\n<ol style=\"font-weight: 400;\">\n<li style=\"text-align: left;\"><span style=\"font-family: verdana, geneva, sans-serif;\"><strong><span style=\"font-weight: 400;\"><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">Open your Filezilla Interface.<\/span><\/span><\/strong><\/span><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\"><\/span><\/li>\n<li><span style=\"font-family: verdana, geneva, sans-serif;\"><strong><span style=\"font-weight: 400;\"><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">Locate the Server in the Menu Bar.<\/span><\/span><\/strong><\/span><span style=\"font-family: verdana, geneva, sans-serif;\"><strong><span style=\"font-weight: 400;\"><img loading=\"lazy\" decoding=\"async\" style=\"max-width: 100%; height: auto; display: block; margin-left: auto; margin-right: auto;\" src=\"https:\/\/www.hostitsmart.com\/manage\/images\/kb\/316_Server-in-the-Menu-Bar.png\" alt=\"Server in the Menu Bar\" width=\"421\" height=\"67\">\n<p><\/span><\/strong><\/span><\/li>\n<li><span style=\"font-family: verdana, geneva, sans-serif;\"><strong><span style=\"font-weight: 400;\"><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">Clicking on the Server tab will open a drop-down list.<\/span><\/span><\/strong><\/span><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\"><img loading=\"lazy\" decoding=\"async\" style=\"max-width: 100%; height: auto; display: block; margin-left: auto; margin-right: auto;\" src=\"https:\/\/www.hostitsmart.com\/manage\/images\/kb\/317_Server-open-list.png\" alt=\"Server open list\" width=\"261\" height=\"149\"><br \/>\n<\/span><\/li>\n<li><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\"><span style=\"font-family: verdana, geneva, sans-serif;\"><span style=\"font-weight: 400;\">Click the last option, \u201c<\/span><strong><em>Force showing hidden files<\/em><\/strong><span style=\"font-weight: 400;\">.\u201d<\/span><\/span><\/span><span style=\"font-family: verdana, geneva, sans-serif;\"><span style=\"font-weight: 400;\"><img loading=\"lazy\" decoding=\"async\" style=\"max-width: 100%; height: auto; display: block; margin-left: auto; margin-right: auto;\" src=\"https:\/\/www.hostitsmart.com\/manage\/images\/kb\/318_Force-showing-hidden-files.png\" alt=\"Force showing hidden files\" width=\"266\" height=\"152\"><br \/>\n<\/span><\/span><\/li>\n<li><span style=\"font-family: verdana, geneva, sans-serif;\"><span style=\"font-weight: 400;\"><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">This will open a dialog box. Click OK.<\/span><\/span><\/span><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\"><span style=\"font-weight: 400;\"><img loading=\"lazy\" decoding=\"async\" style=\"max-width: 100%; height: auto; display: block; margin-left: auto; margin-right: auto;\" src=\"https:\/\/www.hostitsmart.com\/manage\/images\/kb\/319_Force-showing-box.png\" alt=\"Force showing box\" width=\"622\" height=\"240\"><br \/>\nNow, you can see the hidden files in the Filezilla FTP interface.<\/span><\/span><\/li>\n<\/ol>\n<hr style=\"border-top: 1px dashed #8c8b8b;\">\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><strong>Also Read: <\/strong><a href=\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/101\/How-do-I-Redirect-my-site-using-a-dot-htaccess-file-.html\"><strong>How do I Redirect my site using a (dot) htaccess file?<\/strong><\/a><\/span><\/p>\n<hr style=\"border-top: 1px dashed #8c8b8b;\">\n<h2><span style=\"font-family: verdana, geneva, sans-serif;\"><strong>How do I see my .htaccess file on the WordPress website?<\/strong><\/span><\/h2>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><strong><span style=\"font-weight: 400;\">In standard cases, WordPress automatically generates a .htaccesss file to redirect permalinks properly. But your <\/span><em><span style=\"font-weight: 400;\">WordPress might be missing the .htaccess file<\/span><\/em><span style=\"font-weight: 400;\">.<\/span><\/strong><\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">Here are a few simple steps to generate your .htaccess file on the WordPress website:<\/span><\/p>\n<ol style=\"font-weight: 400;\">\n<li><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">Go to your WordPress Dashboard.<\/span><\/li>\n<li><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">Click on Settings and expand the menu<\/span><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\"><br \/>\n<img loading=\"lazy\" decoding=\"async\" style=\"max-width: 100%; height: auto; display: block; margin-left: auto; margin-right: auto;\" src=\"https:\/\/www.hostitsmart.com\/manage\/images\/kb\/320_expand-the-menu.png\" alt=\"expand the menu\" width=\"159\" height=\"307\"><br \/>\n<\/span><\/li>\n<li><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">Click on Permalinks (the 6th sub-menu under Settings.)<\/span><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\"><img loading=\"lazy\" decoding=\"async\" style=\"max-width: 100%; height: auto; display: block; margin-left: auto; margin-right: auto;\" src=\"https:\/\/www.hostitsmart.com\/manage\/images\/kb\/321_Permalinks-under-Settings.png\" alt=\"Permalinks under Settings\" width=\"316\" height=\"340\"><br \/>\n<\/span><\/li>\n<li><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\"><span style=\"font-family: verdana, geneva, sans-serif;\"><span style=\"font-weight: 400;\">Click on Save Changes without making any modifications.<\/span><\/span><\/span><span style=\"font-family: verdana, geneva, sans-serif;\"><span style=\"font-weight: 400;\"><img loading=\"lazy\" decoding=\"async\" style=\"max-width: 100%; height: auto; display: block; margin-left: auto; margin-right: auto;\" src=\"https:\/\/www.hostitsmart.com\/manage\/images\/kb\/322_Permalinks-save-changes.png\" alt=\"Permalinks save changes\" width=\"615\" height=\"189\"><\/span><\/span><\/li>\n<\/ol>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">Now your WordPress will attempt to generate the .htaccess file.<\/span><\/p>\n<hr style=\"border-top: 1px dashed #8c8b8b;\">\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><strong>Also Read: <\/strong><a href=\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/247\/How-to-Upload-HTML-files-to-Your-WordPress-Website.html\"><strong>How to Upload HTML files to Your WordPress Website?<\/strong><\/a><\/span><\/p>\n<hr style=\"border-top: 1px dashed #8c8b8b;\">\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><strong>Insufficient Permissions:<\/strong><\/span><\/p>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><strong><span style=\"font-weight: 400;\">Insufficient file permissions will not allow WordPress to generate the file. <\/span><\/strong><\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">The Settings &gt;&gt; Permalinks page will display the \u201c.htaccess file is not writeable\u201d message at its bottom.<\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\"><strong>Manual Creation of .htaccess file<\/strong><\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">You are left with the only option to create the .htaccess file manually.<\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">Use a text editor like Notepad or Notepad++ to create the file. Copy and paste the following code into the file and save it with the file name \u201c.htaccess\u201d to your desktop.<\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\"><strong>Code:<\/strong><\/span><\/p>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><em><span style=\"font-weight: 400;\"># BEGIN WordPress<\/span><\/em><\/span><\/p>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><em><span style=\"font-weight: 400;\">RewriteEngine On<\/span><\/em><\/span><\/p>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><em><span style=\"font-weight: 400;\">RewriteBase \/<\/span><\/em><\/span><\/p>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><em><span style=\"font-weight: 400;\">RewriteRule ^index\\.php$ &#8211; [L]<\/span><\/em><\/span><\/p>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><em><span style=\"font-weight: 400;\">RewriteCond %{REQUEST_FILENAME} !-f<\/span><\/em><\/span><\/p>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><em><span style=\"font-weight: 400;\">RewriteCond %{REQUEST_FILENAME} !-d<\/span><\/em><\/span><\/p>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><em><span style=\"font-weight: 400;\">RewriteRule . \/index.php [L]<\/span><\/em><\/span><\/p>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><em><span style=\"font-weight: 400;\"># END WordPress<\/span><\/em><\/span><\/p>\n<hr style=\"border-top: 1px solid black;\">\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><strong>Connect to your server using your FTP.<\/strong><\/span><\/p>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><span style=\"font-weight: 400;\">Use your FTP credentials to connect to your server. Go to the parent directory of your root WordPress directory. You will find all WordPress installation files in this folder. Right-clicking on the folder will open a small menu. Go to the \u201cFile Attributes\u2026\u201d at the bottom of the menu. Manually type in <\/span><strong>755<\/strong><span style=\"font-weight: 400;\"> in the <\/span><strong>Numeric Value<\/strong><span style=\"font-weight: 400;\"> field and click OK.<\/span><\/span><\/p>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><strong>Confirm the permissions for the directory \u201cpublic_html\u201d<\/strong><\/span><\/p>\n<p style=\"text-align: center;\"><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">Ensure that these permissions are correctly defined.<\/span><\/p>\n<table style=\"border-collapse: collapse; width: 100%;\" border=\"1\">\n<tbody>\n<tr>\n<td style=\"width: 12.7841%; text-align: center;\">\n<p style=\"text-align: center;\"><span style=\"font-family: verdana, geneva, sans-serif;\"><strong>Permissions<\/strong><\/span><\/p>\n<\/td>\n<td style=\"width: 8.87269%; height: 18px; text-align: center;\"><span style=\"font-family: verdana, geneva, sans-serif;\"><strong>Read<\/strong><\/span><\/td>\n<td style=\"width: 9.75754%; height: 18px; text-align: center;\"><span style=\"font-family: verdana, geneva, sans-serif;\"><strong>Write<\/strong><\/span><\/td>\n<td style=\"width: 8.43989%; height: 18px; text-align: center;\"><span style=\"font-family: verdana, geneva, sans-serif;\"><strong>Execute<\/strong><\/span><\/td>\n<\/tr>\n<tr style=\"height: 46px;\">\n<td style=\"width: 12.7841%; height: 46px; text-align: center;\"><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">Owner<\/span><\/td>\n<td style=\"width: 8.87269%; height: 46px; text-align: center;\"><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">Yes<\/span><\/td>\n<td style=\"width: 9.75754%; height: 46px; text-align: center;\"><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">Yes<\/span><\/td>\n<td style=\"width: 8.43989%; height: 46px; text-align: center;\"><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">Yes<\/span><\/td>\n<\/tr>\n<tr style=\"height: 46px;\">\n<td style=\"width: 12.7841%; height: 46px; text-align: center;\"><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">Group<\/span><\/td>\n<td style=\"width: 8.87269%; text-align: center;\"><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">Yes<\/span><\/td>\n<td style=\"width: 9.75754%; height: 46px; text-align: center;\"><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">No<\/span><\/td>\n<td style=\"width: 8.43989%; text-align: center;\"><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">Yes<\/span><\/td>\n<\/tr>\n<tr style=\"height: 46px;\">\n<td style=\"width: 12.7841%; height: 46px; text-align: center;\"><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">Public<\/span><\/td>\n<td style=\"width: 8.87269%; text-align: center;\"><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">Yes<\/span><\/td>\n<td style=\"width: 9.75754%; height: 46px; text-align: center;\"><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">No<\/span><\/td>\n<td style=\"width: 8.43989%; text-align: center;\"><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">Yes<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><span style=\"font-weight: 400;\">Now click on the <\/span><strong>\u201cOK<\/strong><span style=\"font-weight: 400;\">\u201d button.<\/span><\/span><\/p>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><span style=\"font-weight: 400;\">Go to your <\/span><strong>Root WordPress directory<\/strong><span style=\"font-weight: 400;\">. From your desktop, drag the recently created .htaccess file and upload it to this directory.<\/span><\/span><\/p>\n<hr style=\"border-top: 1px dashed #8c8b8b;\">\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><strong>Also Read: <\/strong><a href=\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/237\/Ultimate-Guide-to-Fix-Internal-Server-Error-in-WordPress.html\"><strong>Ultimate Guide to Fix Internal Server Error in WordPress<\/strong><\/a><\/span><\/p>\n<hr style=\"border-top: 1px dashed #8c8b8b;\">\n<p style=\"text-align: center;\"><span style=\"font-family: verdana, geneva, sans-serif;\"><strong>Important Note on Recommended Permissions<\/strong><\/span><\/p>\n<table style=\"border-collapse: collapse; width: 100%;\" border=\"1\">\n<tbody>\n<tr style=\"height: 46px;\">\n<td style=\"width: 19.7356%; height: 46px; text-align: center;\"><span style=\"font-family: verdana, geneva, sans-serif;\"><strong>Set Permissions For<\/strong><\/span><\/td>\n<td style=\"width: 10.1746%; height: 46px; text-align: center;\"><span style=\"font-family: verdana, geneva, sans-serif;\"><strong>Set Value As&nbsp;<\/strong><\/span><\/td>\n<\/tr>\n<tr style=\"height: 46px;\">\n<td style=\"width: 19.7356%; height: 46px; text-align: center;\"><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">Folders and Directories<\/span><\/td>\n<td style=\"width: 10.1746%; height: 46px; text-align: center;\"><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">755 OR 750<\/span><\/td>\n<\/tr>\n<tr style=\"height: 46px;\">\n<td style=\"width: 19.7356%; height: 46px; text-align: center;\"><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">Files<\/span><\/td>\n<td style=\"width: 10.1746%; height: 46px; text-align: center;\"><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">644 OR 640<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"width: 19.7356%; text-align: center;\"><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">wp-config.php<\/span><\/td>\n<td style=\"width: 10.1746%; text-align: center;\"><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">440 OR 400<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">Once your .htaccess issue gets resolved, you need to ensure that values for the Recommended Permissions are set as per the above table.<\/span><\/p>\n<p><span style=\"font-weight: 400; font-family: verdana, geneva, sans-serif;\">This will ensure your website\u2019s safety and smooth functioning.<\/span><\/p>\n<hr style=\"border-top: 1px dashed #8c8b8b;\">\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><strong>Also Read: <\/strong><a href=\"https:\/\/www.hostitsmart.com\/manage\/knowledgebase\/228\/How-to-upload-Laravel-Project-on-Shared-Hosting-With-cPanel.html\"><strong>How to upload Laravel Project on Shared Hosting With cPanel?<\/strong><\/a><\/span><\/p>\n<hr style=\"border-top: 1px dashed #8c8b8b;\">\n<h2><span style=\"font-family: verdana, geneva, sans-serif;\"><strong>Conclusion<\/strong><\/span><\/h2>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><strong><span style=\"font-weight: 400;\">The information presented above will help you understand why you cannot find your .htaccess file and how you can discover it. You would also have learned by now to create a new .htaccess file manually.<\/span><\/strong><\/span><\/p>\n<p><span style=\"font-family: verdana, geneva, sans-serif;\"><strong><span style=\"font-weight: 400;\">We would love to hear from you. <strong><a href=\"https:\/\/www.hostitsmart.com\/\">Host IT Smart<\/a><\/strong> welcomes queries for domains, web hosting, SSL certificates, and allied products. You may drop a line at info@hostitsmart.com, and one of our experts will be happy to help you.<\/span><\/strong><\/span><\/p>\n<p style=\"text-align: center;\"><span style=\"font-family: verdana, geneva, sans-serif;\"><strong>XXXXXXX<\/strong><span style=\"font-weight: 400;\">&nbsp;&nbsp;<\/span><\/span><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>This is a common question among beginners. For some reason, they cannot find their .htaccess file.&nbsp; With this knowledgebase, we will understand \u201cWhy is your .htaccess file not showing up and what steps must you take? You can find the .htaccess file in the Root folder of the following 3 platforms: In cPanel In FileZilla [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-253","post","type-post","status-publish","format-standard","hentry","category-cpanel"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Find the Missing htaccess File?<\/title>\n<meta name=\"description\" content=\"This blog discusses discovering your hidden .htaccess file on various platforms and even creating it manually if it doesn\u2019t exist.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/253\/How-to-Find-the-Missing-htaccess-File.html\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Find the Missing htaccess File?\" \/>\n<meta property=\"og:description\" content=\"This blog discusses discovering your hidden .htaccess file on various platforms and even creating it manually if it doesn\u2019t exist.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/253\/How-to-Find-the-Missing-htaccess-File.html\" \/>\n<meta property=\"og:site_name\" content=\"Host IT Smart Knowledge base\" \/>\n<meta property=\"article:published_time\" content=\"2023-10-06T08:39:39+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-10-09T12:21:15+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.hostitsmart.com\/manage\/images\/kb\/323_Sign-in-cPanel.png\" \/>\n<meta name=\"author\" content=\"Admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/253\/How-to-Find-the-Missing-htaccess-File.html#article\",\"isPartOf\":{\"@id\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/253\/How-to-Find-the-Missing-htaccess-File.html\"},\"author\":{\"name\":\"Admin\",\"@id\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#\/schema\/person\/8b538056beea86b043adbd20df3a6ee9\"},\"headline\":\"How to Find the Missing htaccess File?\",\"datePublished\":\"2023-10-06T08:39:39+00:00\",\"dateModified\":\"2023-10-09T12:21:15+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/253\/How-to-Find-the-Missing-htaccess-File.html\"},\"wordCount\":1034,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#organization\"},\"articleSection\":[\"cPanel\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/253\/How-to-Find-the-Missing-htaccess-File.html#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/253\/How-to-Find-the-Missing-htaccess-File.html\",\"url\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/253\/How-to-Find-the-Missing-htaccess-File.html\",\"name\":\"How to Find the Missing htaccess File?\",\"isPartOf\":{\"@id\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#website\"},\"datePublished\":\"2023-10-06T08:39:39+00:00\",\"dateModified\":\"2023-10-09T12:21:15+00:00\",\"description\":\"This blog discusses discovering your hidden .htaccess file on various platforms and even creating it manually if it doesn\u2019t exist.\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/253\/How-to-Find-the-Missing-htaccess-File.html\"]}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#website\",\"url\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/\",\"name\":\"Host IT Smart Knowledge base\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#organization\",\"name\":\"Host IT Smart Knowledge base\",\"url\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#\/schema\/logo\/image\/\",\"url\":\"\",\"contentUrl\":\"\",\"width\":240,\"height\":80,\"caption\":\"Host IT Smart Knowledge base\"},\"image\":{\"@id\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#\/schema\/person\/8b538056beea86b043adbd20df3a6ee9\",\"name\":\"Admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/17348df3a33347d3945161d87b752de1d7a7ec25dcbe15baacbd3b8a35367f66?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/17348df3a33347d3945161d87b752de1d7a7ec25dcbe15baacbd3b8a35367f66?s=96&d=mm&r=g\",\"caption\":\"Admin\"},\"sameAs\":[\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/\"],\"url\":\"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Find the Missing htaccess File?","description":"This blog discusses discovering your hidden .htaccess file on various platforms and even creating it manually if it doesn\u2019t exist.","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:\/\/new.hostitsmart.com\/manage\/knowledgebase\/253\/How-to-Find-the-Missing-htaccess-File.html","og_locale":"en_US","og_type":"article","og_title":"How to Find the Missing htaccess File?","og_description":"This blog discusses discovering your hidden .htaccess file on various platforms and even creating it manually if it doesn\u2019t exist.","og_url":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/253\/How-to-Find-the-Missing-htaccess-File.html","og_site_name":"Host IT Smart Knowledge base","article_published_time":"2023-10-06T08:39:39+00:00","article_modified_time":"2023-10-09T12:21:15+00:00","og_image":[{"url":"https:\/\/www.hostitsmart.com\/manage\/images\/kb\/323_Sign-in-cPanel.png"}],"author":"Admin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Admin","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/253\/How-to-Find-the-Missing-htaccess-File.html#article","isPartOf":{"@id":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/253\/How-to-Find-the-Missing-htaccess-File.html"},"author":{"name":"Admin","@id":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#\/schema\/person\/8b538056beea86b043adbd20df3a6ee9"},"headline":"How to Find the Missing htaccess File?","datePublished":"2023-10-06T08:39:39+00:00","dateModified":"2023-10-09T12:21:15+00:00","mainEntityOfPage":{"@id":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/253\/How-to-Find-the-Missing-htaccess-File.html"},"wordCount":1034,"commentCount":0,"publisher":{"@id":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#organization"},"articleSection":["cPanel"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/253\/How-to-Find-the-Missing-htaccess-File.html#respond"]}]},{"@type":"WebPage","@id":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/253\/How-to-Find-the-Missing-htaccess-File.html","url":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/253\/How-to-Find-the-Missing-htaccess-File.html","name":"How to Find the Missing htaccess File?","isPartOf":{"@id":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#website"},"datePublished":"2023-10-06T08:39:39+00:00","dateModified":"2023-10-09T12:21:15+00:00","description":"This blog discusses discovering your hidden .htaccess file on various platforms and even creating it manually if it doesn\u2019t exist.","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/253\/How-to-Find-the-Missing-htaccess-File.html"]}]},{"@type":"WebSite","@id":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#website","url":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/","name":"Host IT Smart Knowledge base","description":"","publisher":{"@id":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#organization","name":"Host IT Smart Knowledge base","url":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#\/schema\/logo\/image\/","url":"","contentUrl":"","width":240,"height":80,"caption":"Host IT Smart Knowledge base"},"image":{"@id":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#\/schema\/person\/8b538056beea86b043adbd20df3a6ee9","name":"Admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/17348df3a33347d3945161d87b752de1d7a7ec25dcbe15baacbd3b8a35367f66?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/17348df3a33347d3945161d87b752de1d7a7ec25dcbe15baacbd3b8a35367f66?s=96&d=mm&r=g","caption":"Admin"},"sameAs":["https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/"],"url":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/posts\/253","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/comments?post=253"}],"version-history":[{"count":1,"href":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/posts\/253\/revisions"}],"predecessor-version":[{"id":582,"href":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/posts\/253\/revisions\/582"}],"wp:attachment":[{"href":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/media?parent=253"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/categories?post=253"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/new.hostitsmart.com\/manage\/knowledgebase\/wp-json\/wp\/v2\/tags?post=253"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}