{"id":19629,"date":"2024-04-30T06:06:00","date_gmt":"2024-04-30T00:36:00","guid":{"rendered":"https:\/\/www.wpoven.com\/blog\/?p=19629"},"modified":"2024-08-16T10:56:39","modified_gmt":"2024-08-16T05:26:39","slug":"403-forbidden-nginx","status":"publish","type":"post","link":"https:\/\/www.wpoven.com\/blog\/403-forbidden-nginx\/","title":{"rendered":"How to Fix a 403 Forbidden Error on Your Website?"},"content":{"rendered":"\n<p class=\"justify\">It seems you have tried to access a website and ended up encountering an error message that says something is &#8220;Forbidden&#8221; or simply you are not allowed to access the website. If this is the case, you likely came across a 403 forbidden error. <\/p>\n\n\n\n<p class=\"justify\">Seeing such types of errors is very irritating and frustrating, this is why we bring you a comprehensive guide on how to fix the <strong>403 error<\/strong> code. So without any further delay let&#8217;s get started.<\/p>\n\n\n<div class=\"wp-block-ub-divider ub-divider-orientation-horizontal\" id=\"ub_divider_be487792-f5cc-4a22-aff9-cfe9292db6c1\"><hr class=\"ub_divider\" ><\/hr><\/div>\n\n\n\n<div class=\"wp-block-ub-divider ub-divider-orientation-horizontal\" id=\"ub_divider_be487792-f5cc-4a22-aff9-cfe9292db6c1\"><hr class=\"ub_divider\" ><\/hr><\/div>\n\n\n<div class=\"wp-block-group fre-pros-box is-layout-constrained wp-block-group-is-layout-constrained\"><div class=\"wp-block-group__inner-container\">\n<h2 class=\"wp-block-heading myh2\" id=\"How to fix 403 Forbidden Error on your WordPress\">How to Fix 403 Forbidden Error on Your WordPress Website?<\/h2>\n\n\n\n<figure class=\"wp-block-image size-full is-resized imgsha round\"><img decoding=\"async\" width=\"1024\" height=\"512\" src=\"https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2024\/03\/Fix-403-error.png\" alt=\"Fix 403 Forbidden Error\" class=\"wp-image-25333\" style=\"aspect-ratio:2;width:840px;height:auto\" srcset=\"https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2024\/03\/Fix-403-error.png 1024w, https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2024\/03\/Fix-403-error-300x150.png 300w, https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2024\/03\/Fix-403-error-768x384.png 768w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" title=\"\"><figcaption class=\"wp-element-caption\"><sup><em>Fixes of 403 Forbidden Error in a WordPress Site<\/em><\/sup><\/figcaption><\/figure>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"justify\">No matter which platform your website is built on, most of the troubleshooting methods provided below can be easily applied to websites of all types.<\/p>\n\n\n\n<ul>\n<li><a href=\"#Check-Missing-Core-Files-and-Theme-Files\" data-type=\"internal\" data-id=\"#Check-Missing-Core-Files-and-Theme-Files\">Check Missing Core Files and Theme Files<\/a><\/li>\n\n\n\n<li><a href=\"#Check-.htaccess-File-Configuration\" data-type=\"internal\" data-id=\"#Check-.htaccess-File-Configuration\">Check .htaccess file configuration<\/a><\/li>\n\n\n\n<li><a href=\"#Directory-Browsing-and-403-Error\" data-type=\"internal\" data-id=\"#Directory-Browsing-and-403-Error\">Directory Browsing and 403 Error<\/a><\/li>\n\n\n\n<li><a href=\"#Check-File-and-Folder-Permission\" data-type=\"internal\" data-id=\"#Check-File-and-Folder-Permission\">Check file and folder permissions<\/a><\/li>\n\n\n\n<li><a href=\"#Check-Plugin\" data-type=\"internal\" data-id=\"#Check-Plugin\">Check Plugins<\/a><\/li>\n\n\n\n<li><a href=\"#Clear-Chrome-Browser-Cache-and-Cookies\" data-type=\"internal\" data-id=\"#Clear-Chrome-Browser-Cache-and-Cookies\">Clear Browser Cache and Cookies<\/a><\/li>\n\n\n\n<li><a href=\"#Deactivate-Chrome-Browser-Extensions\" data-type=\"internal\" data-id=\"#Deactivate-Chrome-Browser-Extensions\">Deactivate Browser Extensions<\/a><\/li>\n\n\n\n<li><a href=\"#Check-Firewall-Settings\" data-type=\"internal\" data-id=\"#Check-Firewall-Settings\">Check Firewall Settings<\/a><\/li>\n<\/ul>\n<\/div><\/div>\n\n\n\n<p class=\"justify guide-highlight-section green-section\"><strong>Note<\/strong>: Before directly trying these troubleshooting methods, we highly recommend you back up your files and database.<\/p>\n\n\n\n<p class=\"justify\">For WordPress websites it can be easily done by accessing the WordPress Dashboard you can take the help of a backup plugin. We recommend using a <a href=\"https:\/\/www.wpoven.com\/blog\/wordpress-backup-plugins\/\" target=\"_blank\" rel=\"noreferrer noopener\">backup plugin<\/a> that creates automatic backups at regular intervals.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"Check-Missing-Core-Files-and-Theme-Files\">1. Check Missing Core Files and Theme Files<\/h3>\n\n\n\n<p class=\"justify\">First, you should check all your WordPress Core Files and ensure they are in place. <\/p>\n\n\n\n<p class=\"justify\">Also check if all these files are properly uploaded, especially for the index.php files at root, inside wp-admin, theme folder, and every plugin folder. (You can easily upload the core files manually using any File Transfer Tool)<\/p>\n\n\n<div class=\"wp-block-ub-divider ub-divider-orientation-horizontal\" id=\"ub_divider_f249326d-4b00-4cb9-a273-afc45b1b1e09\"><hr class=\"ub_divider\" ><\/hr><\/div>\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/app.wpoven.com\/users\/signup\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" width=\"1024\" height=\"273\" src=\"https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2024\/07\/Managed-Hosting.png\" alt=\"WPOven\" class=\"wp-image-26984\" srcset=\"https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2024\/07\/Managed-Hosting.png 1024w, https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2024\/07\/Managed-Hosting-300x80.png 300w, https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2024\/07\/Managed-Hosting-768x205.png 768w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" title=\"\"><\/a><\/figure>\n\n\n<div class=\"wp-block-ub-divider ub-divider-orientation-horizontal\" id=\"ub_divider_f249326d-4b00-4cb9-a273-afc45b1b1e09\"><hr class=\"ub_divider\" ><\/hr><\/div>\n\n\n<h3 class=\"wp-block-heading\" id=\"Check-.htaccess-File-Configuration\">2. Check .htaccess File Configuration<\/h3>\n\n\n\n<p class=\"justify\">If your web server is Apache, you need to check if the .htaccess file causing the issue. This particular file is generally hidden in the public_html directory of your Apache-based web server. <\/p>\n\n\n\n<p class=\"justify\">The main purpose of the .htaccess file is to define the web responses to various queries, such as redirects, restrict access to various bots, etc.<\/p>\n\n\n\n<p class=\"justify\">In some cases, there are differences in <em>.htaccess<\/em> files for the root directory and subdirectories in WordPress like wp-admin and wp-includes.<\/p>\n\n\n\n<p class=\"justify\">To access this hidden file you can go to File Manager, and select the hidden checkbox in the options provided in the pop-up as shown in the image below:<\/p>\n\n\n<div class=\"wp-block-image imgsha round\">\n<figure class=\"aligncenter\"><a href=\"https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2019\/02\/error-403-6.png\"><img decoding=\"async\" src=\"https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2019\/02\/error-403-6.png\" alt=\"Check .htaccess file configuration: Error 403\" class=\"wp-image-3678\" title=\"\"><\/a><figcaption class=\"wp-element-caption\"><sup><em>Check the .htaccess file configuration<\/em><\/sup><\/figcaption><\/figure><\/div>\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"justify\">If a pop-up doesn\u2019t appear you can go to Settings under File Manager at Top Right as shown below:<\/p>\n\n\n<div class=\"wp-block-image imgsha round\">\n<figure class=\"aligncenter\"><a href=\"https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2019\/02\/error-403-7.png\"><img decoding=\"async\" src=\"https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2019\/02\/error-403-7.png\" alt=\"Check .htaccess file configuration: Error 403\" class=\"wp-image-3679\" title=\"\"><\/a><figcaption class=\"wp-element-caption\"><sup><em>Check the .htaccess file configuration<\/em><\/sup><\/figcaption><\/figure><\/div>\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"justify\">Once you have selected to show the hidden files you will be able to see the .htaccess file<\/p>\n\n\n<div class=\"wp-block-image imgsha round\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"1024\" height=\"320\" src=\"https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2022\/06\/Check-.htaccess-file-configuration-Error-403.png\" alt=\"Check .htaccess file configuration: Error 403\" class=\"wp-image-14518\" srcset=\"https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2022\/06\/Check-.htaccess-file-configuration-Error-403.png 1024w, https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2022\/06\/Check-.htaccess-file-configuration-Error-403-300x94.png 300w, https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2022\/06\/Check-.htaccess-file-configuration-Error-403-768x240.png 768w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" title=\"\"><figcaption class=\"wp-element-caption\"><em><sup>Check .htaccess file configuration<\/sup><\/em><\/figcaption><\/figure><\/div>\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"justify\">You can download it to your local machine or computer and edit using an editor i.e. Notepad, Dreamweaver, or any other similar editing tool.<\/p>\n\n\n\n<p class=\"justify\">You can also right-click on it and Edit it as shown below:<\/p>\n\n\n<div class=\"wp-block-image imgsha round\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"1024\" height=\"372\" src=\"https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2022\/06\/ht-access-edit.png\" alt=\"Check .htaccess file configuration Error 403\" class=\"wp-image-14519\" srcset=\"https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2022\/06\/ht-access-edit.png 1024w, https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2022\/06\/ht-access-edit-300x109.png 300w, https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2022\/06\/ht-access-edit-768x279.png 768w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" title=\"\"><figcaption class=\"wp-element-caption\"><em><sup>Check the .htaccess file configuration<\/sup><\/em><\/figcaption><\/figure><\/div>\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"justify\">This will open up an editable file like this:<\/p>\n\n\n<div class=\"wp-block-image imgsha round\">\n<figure class=\"aligncenter\"><a href=\"https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2019\/02\/error-403-10.png\"><img decoding=\"async\" src=\"https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2019\/02\/error-403-10.png\" alt=\"Check .htaccess file configuration: Error 403\" class=\"wp-image-3682\" title=\"\"><\/a><figcaption class=\"wp-element-caption\"><em><sup>Check .htaccess file configuration<\/sup><\/em><\/figcaption><\/figure><\/div>\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"justify\">However, if a .htaccess file is not available on your system, you can create a new one too. All you have to do is go into your public_html folder, or the website-specific default folder ( if you have hosted multiple websites on your cPanel) and click on Add New file:<\/p>\n\n\n<div class=\"wp-block-image imgsha round\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"1024\" height=\"404\" src=\"https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2022\/06\/cpanel-add-file.png\" alt=\"Check .htaccess file configuration: 403 forbidden\" class=\"wp-image-14520\" srcset=\"https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2022\/06\/cpanel-add-file.png 1024w, https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2022\/06\/cpanel-add-file-300x118.png 300w, https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2022\/06\/cpanel-add-file-768x303.png 768w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" title=\"\"><figcaption class=\"wp-element-caption\"><em><sup>Check .htaccess file configuration<\/sup><\/em><\/figcaption><\/figure><\/div>\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n<div class=\"wp-block-image imgsha round\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"1024\" height=\"487\" src=\"https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2022\/06\/ht-access-create-new-file.png\" alt=\".htaccess 403 forbidden\" class=\"wp-image-14521\" srcset=\"https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2022\/06\/ht-access-create-new-file.png 1024w, https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2022\/06\/ht-access-create-new-file-300x143.png 300w, https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2022\/06\/ht-access-create-new-file-768x365.png 768w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" title=\"\"><figcaption class=\"wp-element-caption\"><em><sup>.htaccess 403 forbidden<\/sup><\/em><\/figcaption><\/figure><\/div>\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"justify\">If the .htaccess file is already available and you are facing a 403 forbidden error, delete it and try to access the website or the specific page with the issue.<\/p>\n\n\n\n<p class=\"justify\">If the website works fine, it means your .htaccess file was triggering the issue and it needs to be configured correctly.<\/p>\n\n\n\n<p class=\"justify\">Alternatively, if you do not wish to delete the .htaccess file, you can just remove all the content from it and save the empty file instead. <\/p>\n\n\n\n<p class=\"justify\">For WordPress users, you can even regenerate new .htaccess files directly from the WordPress Dashboard. Go to Settings &gt; Permalinks &gt; Click on the Save Changes button as shown below:<\/p>\n\n\n<div class=\"wp-block-image imgsha round\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"1014\" height=\"573\" src=\"https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2022\/06\/Permalinks-under-Settings-Error-403.png\" alt=\"Permalinks under Settings Error 403\" class=\"wp-image-14522\" srcset=\"https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2022\/06\/Permalinks-under-Settings-Error-403.png 1014w, https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2022\/06\/Permalinks-under-Settings-Error-403-300x170.png 300w, https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2022\/06\/Permalinks-under-Settings-Error-403-768x434.png 768w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" title=\"\"><figcaption class=\"wp-element-caption\"><em><sup>Permalinks under Settings Error 403<\/sup><\/em><\/figcaption><\/figure><\/div>\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"justify\">Please note, that you don\u2019t have to change the settings here unless you want to change the permalink settings or URL structure.<\/p>\n\n\n<div class=\"wp-block-ub-divider ub-divider-orientation-horizontal\" id=\"ub_divider_f249326d-4b00-4cb9-a273-afc45b1b1e09\"><hr class=\"ub_divider\" ><\/hr><\/div>\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.wpoven.com\/dedicated-hosting\/\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" width=\"1024\" height=\"137\" src=\"https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2024\/03\/wpoven-dedicated-hosting-1024x137.png\" alt=\"WPOven Dedicated Hosting\" class=\"wp-image-25538\" srcset=\"https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2024\/03\/wpoven-dedicated-hosting-1024x137.png 1024w, https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2024\/03\/wpoven-dedicated-hosting-300x40.png 300w, https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2024\/03\/wpoven-dedicated-hosting-768x102.png 768w, https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2024\/03\/wpoven-dedicated-hosting-1536x205.png 1536w, https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2024\/03\/wpoven-dedicated-hosting.png 1919w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" title=\"\"><\/a><\/figure>\n\n\n<div class=\"wp-block-ub-divider ub-divider-orientation-horizontal\" id=\"ub_divider_f249326d-4b00-4cb9-a273-afc45b1b1e09\"><hr class=\"ub_divider\" ><\/hr><\/div>\n\n\n<h3 class=\"wp-block-heading\" id=\"Directory-Browsing-and-403-Error\">3. Directory Browsing and 403 Error<\/h3>\n\n\n\n<p class=\"justify\">Directory Browsing is something that you won&#8217;t find these days, it is generally used to display the directory content to the visitor in the absence of a default home page file (index.php or index.html)<\/p>\n\n\n\n<p class=\"justify\">The server will display all the files and subfolders of the main folder to the visitors which is certainly not a good idea for security reasons.<\/p>\n\n\n\n<p class=\"justify\">This is exactly how it appears:<\/p>\n\n\n<div class=\"wp-block-image imgsha round\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"1014\" height=\"488\" src=\"https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2022\/06\/Directory-Browsing.png\" alt=\"Directory Browsing and 403 Error\" class=\"wp-image-14523\" srcset=\"https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2022\/06\/Directory-Browsing.png 1014w, https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2022\/06\/Directory-Browsing-300x144.png 300w, https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2022\/06\/Directory-Browsing-768x370.png 768w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" title=\"\"><figcaption class=\"wp-element-caption\"><em><sup>Directory Browsing<\/sup><\/em><\/figcaption><\/figure><\/div>\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"justify\">Fortunately, most of the servers by default disallow directory browsing to hide the folder contents. In such cases, if the default root file (index.html or index.php) is missing, the server will return a 403 Forbidden error.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>How to Disable Directory Browsing using the .htaccess file?<\/strong><\/h4>\n\n\n\n<p class=\"justify\">Open the editable .htaccess file, as described in the previous section. (<strong>Note:<\/strong> remember to back up the existing .htaccess file)<\/p>\n\n\n\n<p class=\"justify\">By default, the WordPress .htaccess file looks like this:<\/p>\n\n\n\n<p class=\"has-background\" style=\"background-color:#f0f0f0\"><code><strong>#BEGIN WordPress<br>RewriteEngine On<br>RewriteBase \/<br>RewriteRule ^index\\.php$ - [L]<br>RewriteCond %{REQUEST_FILENAME} ! - f<br>RewriteCond %{REQUEST_FILENAME} ! - d<br>RewriteRule . \/index.php [L]<br>#END WordPress <\/strong><\/code><\/p>\n\n\n\n<p class=\"justify\">Just add this line of the code after the last line:<\/p>\n\n\n\n<p class=\"has-background\" style=\"background-color:#f0f0f0\"><code><strong>Options -Indexes<\/strong><\/code><\/p>\n\n\n\n<p class=\"justify\">Update or Upload the edited .htaccess file, and refresh the page to see if the problem is resolved.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"Check-File-and-Folder-Permission\">4. Check File and Folder Permission<\/h3>\n\n\n\n<p class=\"justify\">Whenever you install fresh WordPress or create a new file or folder in your cPanel, a default file permission setting is automatically applied to all the core files and folders.<\/p>\n\n\n\n<p class=\"justify\">However, you can still change the permission settings of each folder and a specific file as well if you like. Some hosting providers also provide tools to reset the permission settings. <\/p>\n\n\n\n<p class=\"justify\">You can also edit permission settings using any FTP tool (FileZilla for example). It will give you additional options as follows:<\/p>\n\n\n<div class=\"wp-block-image imgsha round\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"1014\" height=\"749\" src=\"https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2022\/06\/Directory-Browsing-and-403-Error-1.png\" alt=\"Directory Browsing and 403 Error\" class=\"wp-image-14524\" srcset=\"https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2022\/06\/Directory-Browsing-and-403-Error-1.png 1014w, https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2022\/06\/Directory-Browsing-and-403-Error-1-300x222.png 300w, https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2022\/06\/Directory-Browsing-and-403-Error-1-768x567.png 768w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" title=\"\"><figcaption class=\"wp-element-caption\"><em><sup>Directory Browsing and 403 Error<\/sup><\/em><\/figcaption><\/figure><\/div>\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<ul class=\"justify\">\n<li>Permission settings to be only applied to selected directories or files<\/li>\n\n\n\n<li>It is to be applied in all subdirectories and files within the selected directory<\/li>\n\n\n\n<li>Also, it is to be applied only in all subdirectories within the selected directory<\/li>\n\n\n\n<li>Permissions settings are to be applied only in all files within the selected directory<\/li>\n<\/ul>\n\n\n\n<p><strong>Following are the default permission settings for WordPress Files:<\/strong><\/p>\n\n\n\n<ul class=\"justify\">\n<li>First of all change permission settings to 755 or 750 for all the directories<\/li>\n\n\n\n<li>Change permissions settings to 644 or 640 for all the files (select the \u201cApply to files only\u201d option)<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-ub-divider ub-divider-orientation-horizontal\" id=\"ub_divider_09ed3e34-f73f-47b9-b9cb-1322a39a898c\"><hr class=\"ub_divider\" ><\/hr><\/div>\n\n\n<p class=\"justify round has-background\" style=\"background-color:#fff6dd\"><strong>Note<\/strong>: <em>There is an exception to the above rule for the <\/em>wp-config.php file. <em>The WP Config file is used to connect WP files to the Database. It includes the necessary database name, DB username, and password. The file permission for wp-config should either be 440 or 400.<\/em><\/p>\n\n\n<div class=\"wp-block-ub-divider ub-divider-orientation-horizontal\" id=\"ub_divider_f4b6cafb-98b7-49e4-bf09-3a03da1d3bc4\"><hr class=\"ub_divider\" ><\/hr><\/div>\n\n\n<p class=\"justify\">Changing the permission settings accordingly should resolve the 403 forbidden error issues.<\/p>\n\n\n<div class=\"wp-block-ub-divider ub-divider-orientation-horizontal\" id=\"ub_divider_aa48abad-2505-4d05-b368-d51081297aba\"><hr class=\"ub_divider\" ><\/hr><\/div>\n\n\n<p class=\"justify round has-background\" style=\"background-color:#f8d7df\"><strong>Caution<\/strong>: <em>Only perform this step when you are sure about what you are doing. It is an expert job. Playing around with file permissions can compromise your website or server&#8217;s security. Incorrectly configured file permissions can leave a gate open for hackers or malware.<\/em><\/p>\n\n\n<div class=\"wp-block-ub-divider ub-divider-orientation-horizontal\" id=\"ub_divider_b496fbd8-3ac6-4ad9-a2b3-72407c12fa2a\"><hr class=\"ub_divider\" ><\/hr><\/div>\n\n\n<h3 class=\"wp-block-heading\" id=\"Check-Plugin\">5. Check Plugin<\/h3>\n\n\n\n<p class=\"justify\">If the error still doesn&#8217;t resolve, you need to check if there is a plugin that is causing the issue.<\/p>\n\n\n\n<p class=\"justify\">To check if this is causing the issue, first deactivate and uninstall any of the recently installed plugins. If this helps, it means a faulty plugin was the main culprit and you must remove or replace it immediately.<\/p>\n\n\n\n<p class=\"justify\">To figure out the faulty plugin, do the following:<\/p>\n\n\n\n<ul class=\"justify\">\n<li>Activate the plugins one by one and check if the 403 error triggers again<\/li>\n\n\n\n<li>When the error is visible after activating a particular plugin, congratulations, you have identified the plugin that is causing the problem.<\/li>\n\n\n\n<li>You may need to delete it entirely and replace it with another plugin with similar functionality.<\/li>\n<\/ul>\n\n\n\n<p class=\"justify\">In case you are unable to access your WordPress dashboard, you can access your website files via the FTP client and deactivate all the plugins by simply changing the name of the plugins folder to something else. (However, we do not recommend you follow this method)<\/p>\n\n\n\n<p class=\"justify\">You can also change the name of individual plugin folders one by one If you follow this process of changing folder names, you will see several errors in your WordPress dashboard stating that \u201cPlugin file doesn\u2019t exist\u201d. <\/p>\n\n\n\n<p class=\"justify\">At this moment, you should not panic, this error message will vanish once the folder name is changed back to what it was the original name.<\/p>\n\n\n\n<p class=\"justify\">You will have to activate them again from the WP Dashboard after changing them back to their original name.<\/p>\n\n\n<div class=\"wp-block-ub-divider ub-divider-orientation-horizontal\" id=\"ub_divider_ca6100de-6dee-41c7-9ab2-b3b509d134c2\"><hr class=\"ub_divider\" ><\/hr><\/div>\n\n\n<p class=\"justify round has-background\" style=\"background-color:#fff6dd\"><strong>Note<\/strong>: Most of the time the issue is found with either one of the <a href=\"https:\/\/www.wpoven.com\/blog\/wordpress-caching-plugins\/\" target=\"_blank\" rel=\"noreferrer noopener\">caching plugins<\/a> or the security plugins. So, keep an eye on these plugins.<\/p>\n\n\n<div class=\"wp-block-ub-divider ub-divider-orientation-horizontal\" id=\"ub_divider_fb20ebd1-9cc4-4940-b48c-5b8b23c88212\"><hr class=\"ub_divider\" ><\/hr><\/div>\n\n\n<h3 class=\"wp-block-heading\" id=\"403 Forbidden Error in WordPress Multisite\">&#8220;403 forbidden access to this resource on the server is denied!&#8221; Error in WordPress Multisite<\/h3>\n\n\n\n<p class=\"justify\">If you have a<a href=\"https:\/\/www.wpoven.com\/blog\/wordpress-multisite\/\" target=\"_blank\" rel=\"noreferrer noopener\"> WordPress Multisite<\/a> installation and getting a 403 error the chances are you have created a wildcard subdomain.<\/p>\n\n\n\n<p class=\"justify\">Just change it to remove the wildcard setting for a subdomain, and it should resolve the issue.<\/p>\n\n\n\n<p class=\"justify\">You also need to check the subdomain redirects.<\/p>\n\n\n<div class=\"wp-block-image imgsha round\">\n<figure class=\"aligncenter\"><a href=\"https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2019\/02\/error-403-17.png\"><img decoding=\"async\" src=\"https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2019\/02\/error-403-17.png\" alt=\"subdomain redirects\" class=\"wp-image-3668\" title=\"\"><\/a><figcaption class=\"wp-element-caption\"><em><sup>subdomain redirects<\/sup><\/em><\/figcaption><\/figure><\/div>\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n<div class=\"wp-block-ub-divider ub-divider-orientation-horizontal\" id=\"ub_divider_87b87d79-b5be-4cd8-b982-f9bcf13901b1\"><hr class=\"ub_divider\" ><\/hr><\/div>\n\n\n<div class=\"wp-block-group fre-pros-box is-layout-constrained wp-block-group-is-layout-constrained\"><div class=\"wp-block-group__inner-container\">\n<h2 class=\"wp-block-heading myh2\" id=\"Clear Browser Cache and Cookies\">How to Fix 403 Forbidden Error on Google Chrome?<\/h2>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"justify\">Your Chrome Brower can also sometimes respond weirdly and trigger a 403 Forbidden error. If this is the case, you need to follow the methods you need to follow:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Some Quick and easy Solutions you must try at first:<\/h3>\n\n\n\n<ul class=\"justify\">\n<li><strong>Refresh or Reload: <\/strong>Sometimes, the 403 forbidden error can trigger due to temporary glitches that can be easily fixed by simply refreshing or reloading the webpage. Just click on the refresh button on the Chrome browser and you are done. <\/li>\n\n\n\n<li><strong>Try accessing the page after some time: <\/strong>Sometimes due to network congestion, glitches, or temporary issues from the server side can take a longer time than usual to resolve. If accessing the website is not very critical, you can wait for a few hours or even a day and try accessing it again. However, if you can&#8217;t wait and accessing the website is the utmost priority you can try the below methods.<\/li>\n\n\n\n<li><strong>Incorrect Typed URL:<\/strong>  There is a popular saying that, &#8220;Hurry-hurry spoils the curry&#8221;. Generally, users in a hurry type incorrect or misspelled URLs in the browser address bar, and the outcome results in these types of errors. So, it is highly advised to review your typed URL before pressing the enter key and make sure the URL is 100% correct.<\/li>\n\n\n\n<li><strong>Check on multiple devices or connections: <\/strong>You must also try to access the same website on multiple devices using the same network. If the error persists, move on to another internet connection and check if the error is due to the device or the internet connection.<\/li>\n\n\n\n<li><strong>Reset to default settings:<\/strong> If none of the above methods work, try to reset everything from the browser to your Wi-Fi router to their default settings. <\/li>\n<\/ul>\n<\/div><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"Clear-Chrome-Browser-Cache-and-Cookies\"> 6. Clear Chrome Browser Cache and Cookies<\/h3>\n\n\n\n<p class=\"justify\">You can also try deleting the specific cookies of the Chrome browser. Follow these steps:<\/p>\n\n\n\n<ul class=\"justify\">\n<li>Open Chrome &gt; Click on More Settings &gt; Advanced<\/li>\n\n\n\n<li>In this menu, find &#8216;Content settings&#8217; Under &#8220;Privacy and Security&#8221; &gt; Click on &#8220;Cookies&#8221;<\/li>\n\n\n\n<li>Under &#8220;All cookies and site data,&#8221; search for the website&#8217;s name.<\/li>\n\n\n\n<li>To the right of the site, click on the Remove button<\/li>\n<\/ul>\n\n\n\n<p class=\"justify\">To clear all the cookies, you can just go to Google Chrome History, and delete the Cache completely.  This similar process also works for other popular web browsers such as Mozilla, Edge, etc.<\/p>\n\n\n\n<p><strong>Go to History, and click on Clear Browsing Data as shown below:<\/strong><\/p>\n\n\n<div class=\"wp-block-image imgsha round\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"1014\" height=\"458\" src=\"https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2022\/06\/Clear-Browsing-Data-chrome.png\" alt=\"Clear Browsing Data\" class=\"wp-image-14525\" srcset=\"https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2022\/06\/Clear-Browsing-Data-chrome.png 1014w, https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2022\/06\/Clear-Browsing-Data-chrome-300x136.png 300w, https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2022\/06\/Clear-Browsing-Data-chrome-768x347.png 768w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" title=\"\"><figcaption class=\"wp-element-caption\"><em><sup>Clear Browsing Data<\/sup><\/em><\/figcaption><\/figure><\/div>\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n<div class=\"wp-block-image imgsha round\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"633\" src=\"https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2022\/06\/Clear-Browsing-Data-1024x633.png\" alt=\"Error 403\" class=\"wp-image-14526\" srcset=\"https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2022\/06\/Clear-Browsing-Data-1024x633.png 1024w, https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2022\/06\/Clear-Browsing-Data-300x185.png 300w, https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2022\/06\/Clear-Browsing-Data-768x475.png 768w, https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2022\/06\/Clear-Browsing-Data.png 1042w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" title=\"\"><figcaption class=\"wp-element-caption\"><em><sup>Clear Browsing Data<\/sup><\/em><\/figcaption><\/figure><\/div>\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"justify\">You can also select the time range to delete the browsing data for a specific period. Check &#8220;Cache images and files &#8220;followed by clicking on the &#8220;clear browsing data&#8221; button.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"Deactivate-Chrome-Browser-Extensions\">7. Deactivate Chrome Browser Extensions<\/h3>\n\n\n\n<p class=\"justify\">To increase the browser functionality, many browsers even support extensions that can be easily installed by the users. <\/p>\n\n\n\n<p class=\"justify\">However, sometimes these browser extensions can interfere with the network and trigger errors. That&#8217;s why it&#8217;s recommended to deactivate them during the troubleshooting process.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"Check-Firewall-Settings\">8. Check Firewall Settings<\/h3>\n\n\n\n<p class=\"justify\">It is also possible that firewalls on your system are preventing the server from displaying the requested page. You can temporarily disable the firewall while troubleshooting the 403 error.<\/p>\n\n\n<div class=\"wp-block-ub-divider ub-divider-orientation-horizontal\" id=\"ub_divider_98668146-99ac-470a-9d38-078234949d86\"><hr class=\"ub_divider\" ><\/hr><\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"https:\/\/www.wpoven.com\/free-wordpress-migration\/\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" width=\"768\" height=\"256\" src=\"https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2022\/10\/Eliminate-Server-Error-Risks-Migrate-on-WPOven-Now..png\" alt=\"Eliminate Server Error Risks!\" class=\"wp-image-14531\" srcset=\"https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2022\/10\/Eliminate-Server-Error-Risks-Migrate-on-WPOven-Now..png 768w, https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2022\/10\/Eliminate-Server-Error-Risks-Migrate-on-WPOven-Now.-300x100.png 300w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" title=\"\"><\/a><figcaption class=\"wp-element-caption\"><em><sup>WPOven<\/sup><\/em><\/figcaption><\/figure><\/div>\n\n<div class=\"wp-block-ub-divider ub-divider-orientation-horizontal\" id=\"ub_divider_98668146-99ac-470a-9d38-078234949d86\"><hr class=\"ub_divider\" ><\/hr><\/div>\n\n\n<h2 class=\"wp-block-heading\" id=\"What is error 403 forbidden?\">What does 403 Forbidden Error mean?<\/h2>\n\n\n\n<p class=\"justify\"><strong>403 forbidden error <\/strong>or<strong> 403 forbidden access to this resource on the server is denied!<\/strong>  is an <a href=\"https:\/\/www.wpoven.com\/blog\/http-status-codes\/\" target=\"_blank\" data-type=\"link\" data-id=\"https:\/\/www.wpoven.com\/blog\/http-status-codes\/\" rel=\"noreferrer noopener\">HTTP status code<\/a> meaning the server has received the request and understands it very well but could not provide any additional access. <\/p>\n\n\n\n<p class=\"justify\">This means, that the webpage you are trying to visit or the resource to access the website is not allowed due to the lack of permissions or the absence of required authentication credentials from the server side.<\/p>\n\n\n<div class=\"wp-block-image imgsha round\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"1024\" height=\"438\" src=\"https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2022\/06\/403-forbidden-error-screenshot.png\" alt=\"403 forbidden error\" class=\"wp-image-14510\" srcset=\"https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2022\/06\/403-forbidden-error-screenshot.png 1024w, https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2022\/06\/403-forbidden-error-screenshot-300x128.png 300w, https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2022\/06\/403-forbidden-error-screenshot-768x329.png 768w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" title=\"\"><figcaption class=\"wp-element-caption\"><em><sup> 403 Forbidden Error<\/sup><\/em><\/figcaption><\/figure><\/div>\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p><strong>Learn More About Similar Errors:<\/strong> <\/p>\n\n\n\n<ul>\n<li><a href=\"https:\/\/www.wpoven.com\/blog\/400-bad-request\/\" data-type=\"link\" data-id=\"https:\/\/www.wpoven.com\/blog\/400-bad-request\/\" target=\"_blank\" rel=\"noreferrer noopener\">400 Bad Request<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.wpoven.com\/blog\/401-error\/\" data-type=\"link\" data-id=\"https:\/\/www.wpoven.com\/blog\/401-error\/\" target=\"_blank\" rel=\"noreferrer noopener\">401 Unauthorized<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.wpoven.com\/blog\/how-to-fix-error-403-forbidden-error-for-wordpress\/\" data-type=\"link\" data-id=\"https:\/\/www.wpoven.com\/blog\/how-to-fix-error-403-forbidden-error-for-wordpress\/\" target=\"_blank\" rel=\"noreferrer noopener\">403 Forbidden<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.wpoven.com\/blog\/error-404-not-found\/\" data-type=\"link\" data-id=\"https:\/\/www.wpoven.com\/blog\/error-404-not-found\/\" target=\"_blank\" rel=\"noreferrer noopener\">404 Not Found<\/a>, and<\/li>\n\n\n\n<li><strong>408 Request Timeout Error<\/strong><\/li>\n<\/ul>\n\n\n\n<div class=\"wp-block-group box is-layout-constrained wp-block-group-is-layout-constrained\"><div class=\"wp-block-group__inner-container\">\n<h4 class=\"wp-block-heading\"><strong>Different browsers show different messages for the 403 error :<\/strong><\/h4>\n\n\n\n<ul class=\"justify\">\n<li>Forbidden: You don&#8217;t have permission to access \/ on this server.<\/li>\n\n\n\n<li>HTTP Error 403: Forbidden<\/li>\n\n\n\n<li>403 forbidden requests forbidden by administrative rules<\/li>\n\n\n\n<li>403 Forbidden<\/li>\n\n\n\n<li>Access Denied You don&#8217;t have permission to access<\/li>\n\n\n\n<li>403 \u2013 Forbidden: Access is denied<\/li>\n\n\n\n<li>Error 403 \u2013 Forbidden<\/li>\n\n\n\n<li>403 forbidden nginx\u2013 You are not allowed to access this address 403 Forbidden \u2013 Nginx HTTP Error 403 \u2013 Forbidden \u2013 You do not have permission to access the document or program you&nbsp; &nbsp; requested<\/li>\n\n\n\n<li>403 Forbidden \u2013 Access to this resource on the server is denied<\/li>\n\n\n\n<li>403. That\u2019s an error. Your client does not have permission to get URL \/ from this server<\/li>\n\n\n\n<li>You are not authorized to view this page<\/li>\n<\/ul>\n<\/div><\/div>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n<div class=\"wp-block-ub-divider ub-divider-orientation-horizontal\" id=\"ub_divider_98668146-99ac-470a-9d38-078234949d86\"><hr class=\"ub_divider\" ><\/hr><\/div>\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.wpoven.com\/dedicated-hosting\/\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" width=\"1024\" height=\"137\" src=\"https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2024\/03\/wpoven-dedicated-hosting-1024x137.png\" alt=\"WPOven Dedicated Hosting\" class=\"wp-image-25538\" srcset=\"https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2024\/03\/wpoven-dedicated-hosting-1024x137.png 1024w, https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2024\/03\/wpoven-dedicated-hosting-300x40.png 300w, https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2024\/03\/wpoven-dedicated-hosting-768x102.png 768w, https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2024\/03\/wpoven-dedicated-hosting-1536x205.png 1536w, https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2024\/03\/wpoven-dedicated-hosting.png 1919w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" title=\"\"><\/a><\/figure>\n\n\n<div class=\"wp-block-ub-divider ub-divider-orientation-horizontal\" id=\"ub_divider_98668146-99ac-470a-9d38-078234949d86\"><hr class=\"ub_divider\" ><\/hr><\/div>\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-group tip is-layout-constrained wp-block-group-is-layout-constrained\"><div class=\"wp-block-group__inner-container\">\n<h2 class=\"wp-block-heading myh2\" id=\"causes\">What are the Causes&nbsp;of 403 Forbidden Error?<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"Incorrect-File-Permission\">1. Incorrect File Permission<\/h3>\n\n\n\n<p class=\"justify\">The most common reason behind this error is files and folder permissions on the webserver. This can be easily fixed by checking the permission settings in your File Manager under cPanel. We will discuss this further in detail in the subsequent sections.<\/p>\n\n\n\n<p class=\"justify\">The ideal folder permissions on a web server should look like this:<\/p>\n\n\n\n<ul>\n<li><strong>Permission Status for Folders:<\/strong>&nbsp; 755<\/li>\n\n\n\n<li><strong>Static Content:<\/strong> 644<\/li>\n\n\n\n<li><strong>Dynamic Content:<\/strong> 700<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Understanding File Permissions<\/strong><\/h4>\n\n\n\n<ul>\n<li><strong>7<\/strong>: Stands for full access (Read, Write, Execute)<\/li>\n\n\n\n<li><strong>6<\/strong>: for the Only Read and Write Access<\/li>\n\n\n\n<li><strong>5<\/strong>: Stands for Reading and Execute<\/li>\n\n\n\n<li><strong>4<\/strong>: Only Read Access<\/li>\n\n\n\n<li><b>0:<\/b> Stands for No Access Rights<\/li>\n<\/ul>\n\n\n\n<p class=\"justify\">The 3 digits in the permission codes specify Owner | Group | Public in that order<\/p>\n\n\n\n<p class=\"justify\">So, if a folder permission code looks like 7|5|4 it means the owner has full access (7), while Group can Read and Execute (5) while Public\/Everyone else can only Read (4) the resource.<\/p>\n\n\n\n<p class=\"justify\">These codes can be changed under File Manager if you are using a cPanel. File permissions can also be changed using an FTP tool like FileZilla.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>What does the Read\/Write\/Execute mean?<\/strong><\/h4>\n\n\n\n<ul class=\"justify\">\n<li><strong>Read<\/strong> \u2013 view the files and subfolders within the folder.<\/li>\n\n\n\n<li><strong>Write<\/strong> \u2013 add, edit, or delete the files and subfolders inside the folder<\/li>\n\n\n\n<li><strong>Execute<\/strong> \u2013 process\/execute the resources using a script or commands to change their value.<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Setting File Permission using FTP Tool like FileZilla<\/strong><\/h4>\n\n\n<div class=\"wp-block-image imgsha round\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"1024\" height=\"686\" src=\"https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2022\/06\/Setting-File-Permission-using-FTP-Tool-like-Filezilla.png\" alt=\"Setting File Permission using FTP Tool like Filezilla\" class=\"wp-image-14512\" srcset=\"https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2022\/06\/Setting-File-Permission-using-FTP-Tool-like-Filezilla.png 1024w, https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2022\/06\/Setting-File-Permission-using-FTP-Tool-like-Filezilla-300x201.png 300w, https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2022\/06\/Setting-File-Permission-using-FTP-Tool-like-Filezilla-768x515.png 768w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" title=\"\"><figcaption class=\"wp-element-caption\"><em><sup>Setting File Permission using FTP Tool like FileZilla<\/sup><\/em><\/figcaption><\/figure><\/div>\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n<div class=\"wp-block-image imgsha round\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"1014\" height=\"749\" src=\"https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2022\/06\/Directory-Browsing-and-403-Error.png\" alt=\"Setting File Permission using FTP Tool like Filezilla Error 403\" class=\"wp-image-14514\" srcset=\"https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2022\/06\/Directory-Browsing-and-403-Error.png 1014w, https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2022\/06\/Directory-Browsing-and-403-Error-300x222.png 300w, https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2022\/06\/Directory-Browsing-and-403-Error-768x567.png 768w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" title=\"\"><figcaption class=\"wp-element-caption\"><em><sup>Setting File Permission using FTP Tool like FileZilla<\/sup><\/em><\/figcaption><\/figure><\/div>\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Setting File Permission using File Manager in cPanel<\/strong><\/h4>\n\n\n<div class=\"wp-block-image imgsha round\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"1024\" height=\"532\" src=\"https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2022\/06\/Setting-File-Permission-using-File-Manager-in-Cpanel.png\" alt=\"Setting File Permission using File Manager in Cpanel\" class=\"wp-image-14515\" srcset=\"https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2022\/06\/Setting-File-Permission-using-File-Manager-in-Cpanel.png 1024w, https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2022\/06\/Setting-File-Permission-using-File-Manager-in-Cpanel-300x156.png 300w, https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2022\/06\/Setting-File-Permission-using-File-Manager-in-Cpanel-768x399.png 768w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" title=\"\"><figcaption class=\"wp-element-caption\"><em><sup>Setting File Permission using File Manager in cPanel<\/sup><\/em><\/figcaption><\/figure><\/div>\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n<div class=\"wp-block-image imgsha round\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"1024\" height=\"532\" src=\"https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2022\/06\/Change-Permission-using-File-Manager-in-Cpanel.png\" alt=\"Setting File Permission using File Manager in Cpanel\" class=\"wp-image-14516\" srcset=\"https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2022\/06\/Change-Permission-using-File-Manager-in-Cpanel.png 1024w, https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2022\/06\/Change-Permission-using-File-Manager-in-Cpanel-300x156.png 300w, https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2022\/06\/Change-Permission-using-File-Manager-in-Cpanel-768x399.png 768w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" title=\"\"><figcaption class=\"wp-element-caption\"><em><sup>Setting File Permission using File Manager in cPanel<\/sup><\/em><\/figcaption><\/figure><\/div>\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"justify\">Folder permissions can also be changed using SSH under chmod commands.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"No-Index-File-or-Empty-Folder\">2. No Index File or Empty Folder<\/h3>\n\n\n\n<p class=\"justify\">Another possible reason causing this 403 error can be an empty HTTP directory or in other words, no website or web application files are uploaded to the server directory.<\/p>\n\n\n\n<p class=\"justify\">For example, The default <a href=\"https:\/\/www.wpoven.com\/blog\/wordpress-landing-page-plugins\/\" target=\"_blank\" rel=\"noreferrer noopener\">landing page<\/a> for a website or web application is index.html or index.php.  If none of the 2 files exist on the server it will return a 403 Forbidden error.<\/p>\n\n\n\n<p class=\"justify\">Also, If you have defined some other file in Nginx config or .htaccess as the home page, and that file is not uploaded in the directory the error will trigger.<\/p>\n\n\n\n<p class=\"justify\">Generally, these two reasons are found to be common for displaying 403 Errors. But other specific reasons and level of resource access forbidding can be determined by identifying the sub-status code, which is as follows (though they are not standard codes):<\/p>\n\n\n\n<ul class=\"justify\">\n<li>403.1 &#8211; Execute access forbidden.<\/li>\n\n\n\n<li>403.2 &#8211; Read access is forbidden.<\/li>\n\n\n\n<li>403.3 &#8211; Write access forbidden.<\/li>\n\n\n\n<li>403.4 &#8211; SSL required<\/li>\n\n\n\n<li>403.5 &#8211; SSL 128 required.<\/li>\n\n\n\n<li>403.6 &#8211; IP address rejected.<\/li>\n\n\n\n<li>403.7 &#8211; Client certificate required.<\/li>\n\n\n\n<li>403.8 &#8211; Site access denied.<\/li>\n\n\n\n<li>403.9 &#8211; Too many users.<\/li>\n\n\n\n<li>403.10 &#8211; Invalid configuration.<\/li>\n\n\n\n<li>403.11 &#8211; Password change.<\/li>\n\n\n\n<li>403.12 &#8211; Mapper denied access.<\/li>\n\n\n\n<li>403.13 &#8211; Client certificate revoked.<\/li>\n\n\n\n<li>403.14 &#8211; Directory listing denied.<\/li>\n\n\n\n<li>403.15 &#8211; Client Access Licenses exceeded.<\/li>\n\n\n\n<li>403.16 &#8211; Client certificate is untrusted or invalid.<\/li>\n\n\n\n<li>403.17 &#8211; The client certificate has expired or is not yet valid.<\/li>\n\n\n\n<li>403.18 &#8211; Cannot execute request from that application pool.<\/li>\n\n\n\n<li>403.19 &#8211; Cannot execute CGIs for the client in this application pool.<\/li>\n\n\n\n<li>403.20 &#8211; Passport logon failed.<\/li>\n\n\n\n<li>403.21 &#8211; Source access denied.<\/li>\n\n\n\n<li>403.22 &#8211; Infinite depth is denied.<\/li>\n\n\n\n<li>403.502 &#8211; Too many requests from the same client IP; Dynamic IP Restriction limit reached.<\/li>\n\n\n\n<li>403.503 &#8211; Rejected due to IP address restriction<\/li>\n<\/ul>\n\n\n\n<p class=\"justify\">Based on sub-status error codes, you can easily identify the exact cause of the issue and effectively troubleshoot it.<\/p>\n\n\n\n<p class=\"justify\">If you are a WordPress user, the error 403 can be temporarily triggered due to the following conditions :<\/p>\n\n\n\n<ul class=\"justify\">\n<li>Access denied to WordPress Dashboard. In that case, you have to check the settings for the wp-admin directory.<\/li>\n\n\n\n<li>Access may be denied during WordPress installation<\/li>\n\n\n\n<li>Access may be denied during theme or plugin updates<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">3. Misconfigured Server Settings<\/h3>\n\n\n\n<p class=\"justify\">If the web server files are misconfigured or have some issues, it can trigger an Error 403.<\/p>\n\n\n\n<p class=\"justify\">For example, if your website is on the Nginx Web server and the Nginx configuration files are not properly configured it will trigger a 403 Forbidden Nginx Error. <\/p>\n\n\n\n<p class=\"justify\">The issue could arise if the configuration files are missing, incomplete, or incorrect settings. Such as if you have poorly configured your security settings it can prevent your access to certain resources. <\/p>\n\n\n\n<p class=\"justify\">This particular scenario often happens when you have recently made some changes to your Nginx configuration file or you have recently migrated to a new server.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">4. Incorrect URL or Directory Structure<\/h3>\n\n\n\n<p class=\"justify\">If you are trying to access a resource whose URL path is incorrect, doesn&#8217;t exist, or has been moved to a different location, the 403 error will trigger. <\/p>\n\n\n\n<p class=\"justify\">Even if you have misconfigured the server, it can cause it to look resources in the wrong location and hence the error happens.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">5. Server and Firewall issues<\/h3>\n\n\n\n<p class=\"justify\">The last reason that can cause a 403 error, can be an issue with your server or Firewalls. For example, the server could be experiencing a spike in high traffic and aggressive firewall settings that could be blocking access to certain resources. If this is the case, it&#8217;s important to check your server logs and find out the root cause of the issue.<\/p>\n<\/div><\/div>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n<div class=\"wp-block-ub-divider ub-divider-orientation-horizontal\" id=\"ub_divider_19b9b9da-76b5-4a5e-a0fb-4885fc3c9be6\"><hr class=\"ub_divider\" ><\/hr><\/div>\n\n\n<div class=\"wp-block-group fre-pros-box is-layout-constrained wp-block-group-is-layout-constrained\"><div class=\"wp-block-group__inner-container\">\n<h2 class=\"wp-block-heading myh2\">How to Fix 403 Forbidden Nginx Error on Your Site?<\/h2>\n\n\n\n<p class=\"justify\">When the error 403 specifically pertains to the Nginx web server, which is a popular web server software used to serve web pages and applications. You will encounter an error message  &#8220;403 Forbidden Nginx Error,&#8221; on the screen.<\/p>\n\n\n\n<p class=\"guide-highlight-section green-section\"><strong>Note: <\/strong><em>The error 403 is a broader term and can happen on any web server but when it particularly occurs in the NGINX web server, the error message would be &#8221; 403 Forbidden Nginx Error&#8221;. Both errors indicate a lack of permission to access a resource.<\/em><\/p>\n\n\n\n<p class=\"justify\">It is also true that you will find it difficult to understand the exact cause of the 403 Forbidden error in nginx. It becomes even more difficult to fix it.<\/p>\n\n\n\n<p class=\"justify\">However, If you&#8217;re experiencing this particular type of error, there are several steps you can take to troubleshoot the issue. Let us check them out one by one. <\/p>\n\n\n\n<p class=\"justify\">Here is the list of troubleshooting methods:<\/p>\n\n\n\n<ul>\n<li><a href=\"#Incorrect-configuration-for-the-index-file\" data-type=\"internal\" data-id=\"#Incorrect-configuration-for-the-index-file\">Incorrect configuration for the index file<\/a><\/li>\n\n\n\n<li><a href=\"#Check-File-Permissions\" data-type=\"internal\" data-id=\"#Check-File-Permissions\">Check File Permissions<\/a><\/li>\n\n\n\n<li><a href=\"#Verify-Nginx-configuration\" data-type=\"internal\" data-id=\"#Verify-Nginx-configuration\">Verify Nginx configuration<\/a><\/li>\n\n\n\n<li><a href=\"#Restart-Nginx\" data-type=\"internal\" data-id=\"#Restart-Nginx\">Restart Nginx<\/a><\/li>\n\n\n\n<li><a href=\"#Check-for-IP-based-restrictions\" data-type=\"internal\" data-id=\"#Check-for-IP-based-restrictions\">Check for IP-based restrictions<\/a><\/li>\n\n\n\n<li><a href=\"#Check-web-location\" data-type=\"internal\" data-id=\"#Check-web-location\">Check web location<\/a><\/li>\n\n\n\n<li><a href=\"#Contact-the-website-admin\" data-type=\"internal\" data-id=\"#Contact-the-website-admin\">Contact the website admin<\/a><\/li>\n<\/ul>\n<\/div><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"Incorrect-configuration-for-the-index-file\">1. Incorrect configuration for the index file<\/h3>\n\n\n\n<p class=\"justify\">As we have already mentioned earlier, one of the most common reasons that cause 403 Forbidden Nginx errors is the Incorrect configuration for the index file.<\/p>\n\n\n\n<p class=\"justify\">If you are not familiar with index files, let us make it simple for you. The index file is the file that Nginx serves to the client when the client requests the root URL of the website or directory.<\/p>\n\n\n\n<p class=\"justify\">This particular file has specified rules that control which index file to load and in what order. By default, Nginx looks for files named <\/p>\n\n\n\n<p class=\"justify\">&#8220;index.html&#8221;, &#8220;index.htm&#8221;, &#8220;index.php&#8221;, or &#8220;index.cgi&#8221; to serve as the index file.<\/p>\n\n\n\n<p class=\"round has-background\" style=\"background-color:#f0f0f0\"><code><strong>location \/ {<br>index index.html index.htm index.html inde.php;<br>}<\/strong><\/code><\/p>\n\n\n\n<p class=\"justify\"> If none of the mentioned files are found in the directory, the Nginx will return a 403 forbidden error.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"Check-File-Permissions\">2. Check File Permissions<\/h3>\n\n\n\n<p class=\"justify\">For Nginx users, make sure, it has all the important files present.<\/p>\n\n\n\n<p class=\"justify\">You need to change the directory permissions to 755 and the file permissions to 644. Plus, make sure that if you are running Nginx, it must have its files. <\/p>\n\n\n\n<p class=\"round has-background\" style=\"background-color:#f0f0f0\"><code><strong>sudo chown -R www-data:www-data *<br>sudo chmod 755 {dir}<br>sudo chmod 644 {files}<\/strong><\/code><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"Verify-Nginx-configuration\">3. Verify Nginx configuration <\/h3>\n\n\n\n<p class=\"justify\">The Nginx configuration file can contain errors that cause the 403 Forbidden Nginx error. To check the configuration file, run the command:<\/p>\n\n\n\n<p class=\"round has-background\" style=\"background-color:#f0f0f0\"><code><strong>sudo nginx -t<\/strong><\/code><\/p>\n\n\n\n<p class=\"justify\">This command tests the configuration file and reports any errors. If there are errors, fix them before restarting Nginx.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"Restart-Nginx\">4. Restart Nginx<\/h3>\n\n\n\n<p class=\"justify\">If you have made any changes to the Nginx configuration file, you need to restart Nginx to make the changes effective. For this use the following command to restart Nginx.<\/p>\n\n\n\n<p class=\"round has-background\" style=\"background-color:#f0f0f0\"><code><strong>sudo systemctl restart nginx<\/strong><\/code><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"Check-for-IP-based-restrictions\">5. Check for IP-based restrictions<\/h3>\n\n\n\n<p class=\"justify\">Nginx can block requests from certain IP addresses. To check if your IP address is being blocked, use the command<\/p>\n\n\n\n<p class=\"round has-background\" style=\"background-color:#f0f0f0\"><code><strong>sudo tail -f \/var\/log\/nginx\/error.log<\/strong><\/code><\/p>\n\n\n\n<p class=\"justify\">This command shows the Nginx error log in real time. If your IP address is being blocked, you can add it to the &#8220;allow&#8221; list in the Nginx configuration file. For example,<\/p>\n\n\n\n<p class=\"round has-background\" style=\"background-color:#f0f0f0\"><code><strong>location \/ {<br>deny 124.33.126.127;<br>allow 55.159.63.90\/24;<br>deny all;<br>}<\/strong><\/code><\/p>\n\n\n<div class=\"wp-block-ub-divider ub-divider-orientation-horizontal\" id=\"ub_divider_e2d7290e-1281-4ed1-8eb1-6dc43bb6675f\"><hr class=\"ub_divider\" ><\/hr><\/div>\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"Contact-the-website-admin\">7. Contact the website admin<\/h3>\n\n\n\n<p class=\"justify\">If none of the above solutions work, the last hope is website admin. Write an email and ask the website administrator to see if any server-side issues are causing the error. The website administrator may be able to provide more information about the cause of the error and how to fix it.<\/p>\n\n\n<div class=\"wp-block-ub-divider ub-divider-orientation-horizontal\" id=\"ub_divider_0df443bd-ecd7-40ae-8001-ef77ff002f27\"><hr class=\"ub_divider\" ><\/hr><\/div>\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-group tip is-layout-constrained wp-block-group-is-layout-constrained\"><div class=\"wp-block-group__inner-container\">\n<h2 class=\"wp-block-heading myh2\">How to prevent 403 Forbidden Error in Nginx?<\/h2>\n\n\n\n<p class=\"justify\">The best way to deal with 403 Forbidden Nginx errors is to prevent them from occurring in the first place. Some of the best ways to do this include,<\/p>\n\n\n\n<ul>\n<li><strong>Using access controls and authentication<\/strong><\/li>\n\n\n\n<li><strong>Setting appropriate file and directory permissions<\/strong><\/li>\n\n\n\n<li><strong>Implementing SSL\/TLS certificates<\/strong><\/li>\n\n\n\n<li><strong>Monitoring Server health and performance<\/strong><\/li>\n\n\n\n<li><strong>Staying up to date with Nginx Updates and patches.<\/strong><\/li>\n<\/ul>\n<\/div><\/div>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n<div class=\"wp-block-ub-divider ub-divider-orientation-horizontal\" id=\"ub_divider_bd3cd5cf-165c-4dd8-a4d3-a6b92796e47c\"><hr class=\"ub_divider\" ><\/hr><\/div>\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.wpoven.com\/dedicated-hosting\/\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" width=\"1024\" height=\"137\" src=\"https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2024\/03\/wpoven-dedicated-hosting1-1024x137.png\" alt=\"WPOven dedicated hosting\" class=\"wp-image-25541\" srcset=\"https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2024\/03\/wpoven-dedicated-hosting1-1024x137.png 1024w, https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2024\/03\/wpoven-dedicated-hosting1-300x40.png 300w, https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2024\/03\/wpoven-dedicated-hosting1-768x102.png 768w, https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2024\/03\/wpoven-dedicated-hosting1-1536x205.png 1536w, https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2024\/03\/wpoven-dedicated-hosting1.png 1919w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" title=\"\"><\/a><\/figure>\n\n\n<div class=\"wp-block-ub-divider ub-divider-orientation-horizontal\" id=\"ub_divider_80212018-b443-4331-a3ee-07c3e56d6750\"><hr class=\"ub_divider\" ><\/hr><\/div>\n\n\n<h2 class=\"wp-block-heading\" id=\"Effects of 403 on Search Engine Rankings\">Effects of 403 Forbidden Error on Search Engine Rankings<\/h2>\n\n\n\n<p class=\"justify\">If your website has recently started showing up with a 403 error message, which has a good rank in SERP. There are higher chances that it will end up losing the position and prominent search engines like Google and Bing.<\/p>\n\n\n\n<p class=\"justify\">As per the algorithm of search engines, they first downgrade the rankings and then eventually remove the pages from their index which are no more accessible to users or bots.<\/p>\n\n\n\n<p class=\"justify\">To avoid such situations, it is highly recommended that you keep a close watch on your website analytics report, search console, and webmaster data to see if there are any such errors.<\/p>\n\n\n\n<p class=\"justify\">For this, all you need to do is simply log in to Google Search Console and Select your website &gt; Click on Coverage under index as shown in the picture below:<\/p>\n\n\n<div class=\"wp-block-image imgsha round\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"501\" src=\"https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2022\/06\/Google-Search-Console-coverage-Error-403-1024x501.png\" alt=\"Google Search Console coverage Error 403\" class=\"wp-image-14527\" srcset=\"https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2022\/06\/Google-Search-Console-coverage-Error-403-1024x501.png 1024w, https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2022\/06\/Google-Search-Console-coverage-Error-403-300x147.png 300w, https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2022\/06\/Google-Search-Console-coverage-Error-403-768x376.png 768w, https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2022\/06\/Google-Search-Console-coverage-Error-403.png 1042w\" sizes=\"(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" title=\"\"><figcaption class=\"wp-element-caption\"><em><sup>Google Search Console coverage Error 403<\/sup><\/em><\/figcaption><\/figure><\/div>\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"justify\">It will display the number of errors if present as well as the type of errors the visitors might have faced. <\/p>\n\n\n\n<p class=\"justify\">You can just keep an eye on it to keep your website Indexing healthy and avoid getting lower ranks on search engines.<\/p>\n\n\n\n<p class=\"justify\">In case you have recently changed the URL of a page make sure to use a <a href=\"https:\/\/www.wpoven.com\/blog\/how-to-setup-wordpress-redirect-plugins\/\" target=\"_blank\" rel=\"noreferrer noopener\">redirection plugin<\/a>, and redirect the old URL to the new one. Also, update the XML sitemap in the search console.<\/p>\n\n\n<div class=\"wp-block-image imgsha round\">\n<figure class=\"aligncenter\"><a href=\"https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2019\/02\/error-403-21.png\"><img decoding=\"async\" src=\"https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2019\/02\/error-403-21.png\" alt=\"XML sitemap in the search console\" class=\"wp-image-3672\" title=\"\"><\/a><figcaption class=\"wp-element-caption\"><em><sup>XML sitemap in the search console<\/sup><\/em><\/figcaption><\/figure><\/div>\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"justify\">We also recommend following the above-described troubleshooting methods under the guidance of a WordPress expert if you are a beginner.<\/p>\n\n\n<div class=\"wp-block-ub-divider ub-divider-orientation-horizontal\" id=\"ub_divider_a2b2ab0e-a1b1-4f2d-9bb4-15d9e94ca5eb\"><hr class=\"ub_divider\" ><\/hr><\/div>\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p class=\"justify\">In a nutshell, a 403 forbidden error generally indicates that the requested resources or file is available on the server but it is not accessible, due to the reasons we have already specified in the post.<\/p>\n\n\n\n<p class=\"justify\">Since the 403 error can be triggered due to multiple reasons, we have tried to compile all of them in a single post so that you know all the possibilities and their solutions in one place.<\/p>\n\n\n\n<p class=\"justify\">The solutions that we have mentioned will most probably solve the issue quickly. But in the worst case, if you are still not able to fix it, we suggest you contact the tech support of your hosting provider immediately. <\/p>\n\n\n\n<p class=\"justify\">However, you need to have a little patience because, during maintenance tasks or other phases, the server technical team may accidentally make configuration changes or your IP may have been blocked by the server.<\/p>\n\n\n\n<p class=\"justify\">Contact the technical team to check and resolve the issue as soon as possible. <\/p>\n\n\n\n<p class=\"justify\">We hope this comprehensive guide will help you fix the 403 error easily. However, if you find anything we have missed or want to add your valuable points, please do let us know in the comment section below.<\/p>\n\n\n<div class=\"wp-block-ub-divider ub-divider-orientation-horizontal\" id=\"ub_divider_a2b2ab0e-a1b1-4f2d-9bb4-15d9e94ca5eb\"><hr class=\"ub_divider\" ><\/hr><\/div>","protected":false},"excerpt":{"rendered":"<p>It seems you have tried to access a website and ended up encountering an error message that says something is &#8220;Forbidden&#8221; or simply you are not allowed to access the website. If this is the case, you likely came across a 403 forbidden error. <\/p>\n<p>Seeing such types of errors is very irritating and frustrating, this is why we bring you a comprehensive guide on how to fix the 403 error code. So without any further delay let&#8217;s get started. &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.wpoven.com\/blog\/403-forbidden-nginx\/\" class=\"more-link\">Read More <i class=\"fa fa-angle-double-right\" aria-hidden=\"true\"><\/i><span class=\"screen-reader-text\"> &#8220;How to Fix a 403 Forbidden Error on Your Website?&#8221;<\/span><\/a><\/p>\n","protected":false},"author":28,"featured_media":14509,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ub_ctt_via":"","footnotes":""},"categories":[6,21],"acf":[],"featured_image_src":"https:\/\/www.wpoven.com\/blog\/wp-content\/uploads\/2022\/06\/403-forbidden-err.png","author_info":{"display_name":"Rahul","author_link":"https:\/\/www.wpoven.com\/blog\/author\/rahul\/"},"_links":{"self":[{"href":"https:\/\/www.wpoven.com\/blog\/wp-json\/wp\/v2\/posts\/19629"}],"collection":[{"href":"https:\/\/www.wpoven.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wpoven.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wpoven.com\/blog\/wp-json\/wp\/v2\/users\/28"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wpoven.com\/blog\/wp-json\/wp\/v2\/comments?post=19629"}],"version-history":[{"count":2,"href":"https:\/\/www.wpoven.com\/blog\/wp-json\/wp\/v2\/posts\/19629\/revisions"}],"predecessor-version":[{"id":27270,"href":"https:\/\/www.wpoven.com\/blog\/wp-json\/wp\/v2\/posts\/19629\/revisions\/27270"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wpoven.com\/blog\/wp-json\/wp\/v2\/media\/14509"}],"wp:attachment":[{"href":"https:\/\/www.wpoven.com\/blog\/wp-json\/wp\/v2\/media?parent=19629"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wpoven.com\/blog\/wp-json\/wp\/v2\/categories?post=19629"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}