{"id":16014,"date":"2021-08-20T17:11:45","date_gmt":"2021-08-20T14:11:45","guid":{"rendered":"https:\/\/vipestudio.com\/?p=16014"},"modified":"2021-08-20T17:11:45","modified_gmt":"2021-08-20T14:11:45","slug":"fixing-a-403-wordpress-error-is-as-easy-as-1-2-3","status":"publish","type":"post","link":"https:\/\/vipestudio.com\/en\/fixing-a-403-wordpress-error-is-as-easy-as-1-2-3\/","title":{"rendered":"Fixing a 403 WordPress Error Is as Easy as 1-2-3!"},"content":{"rendered":"<p style=\"text-align: left;\">It\u2019s a bright sunny day. Your coffee is hot and you are in a good mood to make some changes to your fantastic WordPress site. But then bam! You see this default boring page showing <strong>\u201c403 Forbidden\u201d<\/strong> instead.<\/p>\n<p style=\"text-align: left;\">Now, now, there is no need to panic or get frustrated. <a href=\"https:\/\/vipestudio.com\/en\/\">Vipe Studio<\/a>, as one of the best WordPress agencies for development, will help you to <strong>troubleshoot this error<\/strong> and get your website back working again.<\/p>\n<p><img decoding=\"async\" class=\" wp-image-16023 aligncenter\" src=\"https:\/\/vipestudio.com\/wp-content\/uploads\/2021\/08\/3814339-ai-300x300.png\" alt=\"\" width=\"190\" height=\"190\" srcset=\"https:\/\/vipestudio.com\/wp-content\/uploads\/2021\/08\/3814339-ai-300x300.png 300w, https:\/\/vipestudio.com\/wp-content\/uploads\/2021\/08\/3814339-ai-1024x1024.png 1024w, https:\/\/vipestudio.com\/wp-content\/uploads\/2021\/08\/3814339-ai-150x150.png 150w, https:\/\/vipestudio.com\/wp-content\/uploads\/2021\/08\/3814339-ai-768x768.png 768w, https:\/\/vipestudio.com\/wp-content\/uploads\/2021\/08\/3814339-ai-410x410.png 410w, https:\/\/vipestudio.com\/wp-content\/uploads\/2021\/08\/3814339-ai-381x381.png 381w, https:\/\/vipestudio.com\/wp-content\/uploads\/2021\/08\/3814339-ai-174x174.png 174w, https:\/\/vipestudio.com\/wp-content\/uploads\/2021\/08\/3814339-ai.png 1500w\" sizes=\"(max-width: 190px) 100vw, 190px\" \/><\/p>\n<h2 style=\"text-align: left;\">Knowing What 403 Forbidden Error Is<\/h2>\n<p style=\"text-align: left;\">When you see this error instead of the lovely homepage of your WordPress site, it indicates that your web server acknowledges your browser request to view the website, but, alas, this will not be fulfilled. In another way, the <strong>403 Forbidden error basically means that your server fully understands what you are trying to do, but it \u2018forbids\u2019 you to do it<\/strong> because you lack the necessary permission to do so.<\/p>\n<p style=\"text-align: left;\">It\u2019s as if you\u2019re attempting to get into an awesome (yet, private) party, but somehow your name was mistakenly erased off the attendee list. Imagine how bummed you\u2019ll be!<\/p>\n<p><img decoding=\"async\" class=\" wp-image-16025 aligncenter\" src=\"https:\/\/vipestudio.com\/wp-content\/uploads\/2021\/08\/3819675-ai-300x200.png\" alt=\"\" width=\"206\" height=\"137\" srcset=\"https:\/\/vipestudio.com\/wp-content\/uploads\/2021\/08\/3819675-ai-300x200.png 300w, https:\/\/vipestudio.com\/wp-content\/uploads\/2021\/08\/3819675-ai-1024x683.png 1024w, https:\/\/vipestudio.com\/wp-content\/uploads\/2021\/08\/3819675-ai-768x512.png 768w, https:\/\/vipestudio.com\/wp-content\/uploads\/2021\/08\/3819675-ai-615x410.png 615w, https:\/\/vipestudio.com\/wp-content\/uploads\/2021\/08\/3819675-ai-572x381.png 572w, https:\/\/vipestudio.com\/wp-content\/uploads\/2021\/08\/3819675-ai-261x174.png 261w, https:\/\/vipestudio.com\/wp-content\/uploads\/2021\/08\/3819675-ai.png 1500w\" sizes=\"(max-width: 206px) 100vw, 206px\" \/><\/p>\n<h2 style=\"text-align: left;\">So What Is the Reason for This Unpleasant Error?<\/h2>\n<p style=\"text-align: left;\">The two most common causes for the 403 Forbidden Error in WordPress are:<\/p>\n<ol style=\"text-align: left;\">\n<li>A misconfigured\/corrupt .htaccess file.<\/li>\n<li>The incorrect website file and\/or folder permissions.<\/li>\n<\/ol>\n<p style=\"text-align: left;\">Now that you understand the error and the possible culprits that are causing it, <strong>here comes the fixing part!<\/strong><\/p>\n<p><img decoding=\"async\" class=\" wp-image-16027 aligncenter\" src=\"https:\/\/vipestudio.com\/wp-content\/uploads\/2021\/08\/3828546-ai-300x300.png\" alt=\"\" width=\"191\" height=\"191\" srcset=\"https:\/\/vipestudio.com\/wp-content\/uploads\/2021\/08\/3828546-ai-300x300.png 300w, https:\/\/vipestudio.com\/wp-content\/uploads\/2021\/08\/3828546-ai-1024x1024.png 1024w, https:\/\/vipestudio.com\/wp-content\/uploads\/2021\/08\/3828546-ai-150x150.png 150w, https:\/\/vipestudio.com\/wp-content\/uploads\/2021\/08\/3828546-ai-768x768.png 768w, https:\/\/vipestudio.com\/wp-content\/uploads\/2021\/08\/3828546-ai-410x410.png 410w, https:\/\/vipestudio.com\/wp-content\/uploads\/2021\/08\/3828546-ai-381x381.png 381w, https:\/\/vipestudio.com\/wp-content\/uploads\/2021\/08\/3828546-ai-174x174.png 174w, https:\/\/vipestudio.com\/wp-content\/uploads\/2021\/08\/3828546-ai.png 1500w\" sizes=\"(max-width: 191px) 100vw, 191px\" \/><\/p>\n<h2 style=\"text-align: left;\">1. File and Folder Permissions<\/h2>\n<p style=\"text-align: left;\">According to WordPress Codex, it\u2019s recommended to <strong>set your file permissions to 644 or 640<\/strong> and your <strong>website directories to 755 or 750<\/strong>. However, please keep in mind that we have an exception to this rule which applies to your wp-config.php file that should be set to 440 or 400.<\/p>\n<p style=\"text-align: left;\">Now let\u2019s make sure your WordPress files and directories are set to the correct permissions as above.<\/p>\n<p style=\"text-align: left;\">Normally, you can access your files using an FTP\/SFTP connection. In this case, we will use Filezilla as it is one of the most common FTP clients.<\/p>\n<p style=\"text-align: left;\"><strong>To set the proper permissions<\/strong>, right-click on the folder where your WordPress site is located (often, it\u2019s set to public_html). Then, choose \u201cFile Attributes\u201d. Fill in \u201c755\u201d or \u201c750\u201d in the numeric value field. Don\u2019t forget to also choose \u201cRecurse into subdirectories\u201d (so that you don\u2019t have to apply this change to every folder within your site) and \u201cApply to directories only\u201d.<\/p>\n<p style=\"text-align: left;\"><strong>Yay!<\/strong> One step down, and now we move on to set the File permissions. Click on any file in your site directory. Again, fill in \u201c644\u201d or \u201c640\u201d in the numeric value field. Tick the \u201cRecurse into subdirectories\u201d option but this time choose \u201cApply to files only\u201d.<\/p>\n<p style=\"text-align: left;\">Last but also the most important part, you will need to <strong>manually adjust the permissions for your wp-config.php file<\/strong> to make it \u201c440\u201d or \u201c400\u201d. This will help to keep your site safe from any naughty attempts to hack your site.<\/p>\n<p style=\"text-align: left;\">That\u2019s all there is to it; If the incorrect file permissions were indeed the culprit of the 403 error, your WordPress site should be back to normal again.<\/p>\n<p><img decoding=\"async\" class=\" wp-image-16029 aligncenter\" src=\"https:\/\/vipestudio.com\/wp-content\/uploads\/2021\/08\/5229768-ai-300x300.png\" alt=\"\" width=\"190\" height=\"190\" srcset=\"https:\/\/vipestudio.com\/wp-content\/uploads\/2021\/08\/5229768-ai-300x300.png 300w, https:\/\/vipestudio.com\/wp-content\/uploads\/2021\/08\/5229768-ai-1024x1024.png 1024w, https:\/\/vipestudio.com\/wp-content\/uploads\/2021\/08\/5229768-ai-150x150.png 150w, https:\/\/vipestudio.com\/wp-content\/uploads\/2021\/08\/5229768-ai-768x768.png 768w, https:\/\/vipestudio.com\/wp-content\/uploads\/2021\/08\/5229768-ai-410x410.png 410w, https:\/\/vipestudio.com\/wp-content\/uploads\/2021\/08\/5229768-ai-381x381.png 381w, https:\/\/vipestudio.com\/wp-content\/uploads\/2021\/08\/5229768-ai-174x174.png 174w, https:\/\/vipestudio.com\/wp-content\/uploads\/2021\/08\/5229768-ai.png 1500w\" sizes=\"(max-width: 190px) 100vw, 190px\" \/><\/p>\n<h2 style=\"text-align: left;\">2. Broken or Corrupt .htaccess File<\/h2>\n<p style=\"text-align: left;\"><strong>If your hosting is using the Apache web server<\/strong>, then you will find an .htaccess file as a basic configuration file on your WordPress site folder. It is such a vital part of your site and if the file is not configured properly, even a minor typo can result in a major problem, such as the 403 Forbidden message.<\/p>\n<p style=\"text-align: left;\"><strong>The easiest way to solve the 403 issues<\/strong> caused by .htaccess file misconfiguration is to do the following:<\/p>\n<ol style=\"text-align: left;\">\n<li>Access your files using FTP\/SFTP.<\/li>\n<li>Navigate to your root folder and locate the .htaccess file.<\/li>\n<li>Keep a backup of the file, just in case, and download it to your local computer.<\/li>\n<li>Delete the current .htaccess file from your server.<\/li>\n<\/ol>\n<p style=\"text-align: left;\">If your .htaccess file is the one that&#8217;s causing the 403 error, your WordPress site should now be loading again.<\/p>\n<p style=\"text-align: left;\">Now we will need to replace the deleted .htaccess file by forcing WordPress to create a brand new one. The steps are:<\/p>\n<ul style=\"text-align: left;\">\n<li>Go to WordPress dashboard &gt; Settings &gt; Permalinks.<\/li>\n<li>There is no need to modify any options, just scroll to the bottom of the page and click Save Changes.<\/li>\n<\/ul>\n<p style=\"text-align: left;\"><strong>Voila!<\/strong> The new .htaccess file will be created automatically.<\/p>\n<p><img decoding=\"async\" class=\" wp-image-16031 aligncenter\" src=\"https:\/\/vipestudio.com\/wp-content\/uploads\/2021\/08\/3805045-ai-300x300.png\" alt=\"\" width=\"188\" height=\"188\" srcset=\"https:\/\/vipestudio.com\/wp-content\/uploads\/2021\/08\/3805045-ai-300x300.png 300w, https:\/\/vipestudio.com\/wp-content\/uploads\/2021\/08\/3805045-ai-1024x1024.png 1024w, https:\/\/vipestudio.com\/wp-content\/uploads\/2021\/08\/3805045-ai-150x150.png 150w, https:\/\/vipestudio.com\/wp-content\/uploads\/2021\/08\/3805045-ai-768x768.png 768w, https:\/\/vipestudio.com\/wp-content\/uploads\/2021\/08\/3805045-ai-410x410.png 410w, https:\/\/vipestudio.com\/wp-content\/uploads\/2021\/08\/3805045-ai-381x381.png 381w, https:\/\/vipestudio.com\/wp-content\/uploads\/2021\/08\/3805045-ai-174x174.png 174w, https:\/\/vipestudio.com\/wp-content\/uploads\/2021\/08\/3805045-ai.png 1500w\" sizes=\"(max-width: 188px) 100vw, 188px\" \/><\/p>\n<h2 style=\"text-align: left;\">Say Goodbye to 403 WordPress Error!<\/h2>\n<p style=\"text-align: left;\">To summarize this not-so-lengthy but the <strong>oh-so-straight-to-the-point article<\/strong>, the 403 Forbidden error shows when your server is working properly but you don\u2019t have the authorization to view all or parts of your website.<\/p>\n<p style=\"text-align: left;\">The \u201ctop two\u201d reasons on why this issue occurs are incorrect file permission setup or a corrupt .htaccess file. You should be able to get your site back up and running in no time once you <strong>follow the troubleshooting methods<\/strong> in this blog, written by the Vipe Studio team, your go-to <a href=\"https:\/\/vipestudio.com\/en\/wordpress-website-development\/\">WordPress agency for development.<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>It\u2019s a bright sunny day. Your coffee is hot and [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":16015,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[142],"tags":[1187,1192,1188,1191,531,128,475,476,560,1189,1190,178,477],"class_list":["post-16014","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress-common-issues","tag-403-error","tag-403-forbidden-error","tag-403-issues","tag-fix","tag-solution","tag-wordpress-en","tag-wordpress-agency","tag-wordpress-agency-for-development","tag-website-wordpress-development","tag-wordpress-common-issues","tag-wordpress-problems","tag-wordpress-website","tag-wordpress-website-development"],"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/vipestudio.com\/en\/wp-json\/wp\/v2\/posts\/16014","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vipestudio.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vipestudio.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vipestudio.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vipestudio.com\/en\/wp-json\/wp\/v2\/comments?post=16014"}],"version-history":[{"count":0,"href":"https:\/\/vipestudio.com\/en\/wp-json\/wp\/v2\/posts\/16014\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/vipestudio.com\/en\/wp-json\/wp\/v2\/media\/16015"}],"wp:attachment":[{"href":"https:\/\/vipestudio.com\/en\/wp-json\/wp\/v2\/media?parent=16014"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vipestudio.com\/en\/wp-json\/wp\/v2\/categories?post=16014"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vipestudio.com\/en\/wp-json\/wp\/v2\/tags?post=16014"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}