{"id":249,"date":"2024-04-21T16:00:29","date_gmt":"2024-04-21T16:00:29","guid":{"rendered":"https:\/\/domainregistrationindia.co.in\/blog\/?p=249"},"modified":"2024-04-21T16:00:31","modified_gmt":"2024-04-21T16:00:31","slug":"forbidden-dont-have-access-error","status":"publish","type":"post","link":"https:\/\/domainregistrationindia.co.in\/blog\/forbidden-dont-have-access-error\/","title":{"rendered":"\u201cForbidden \u2013 You don\u2019t have permission to access this resource\u201d Error"},"content":{"rendered":"\n<p>A\u00a0<code>Forbidden<\/code>\u00a0error, usually a\u00a0<code>403 error<\/code>, indicates that the server understands the request, but it refuses to authorize it<\/p>\n\n\n\n<div class=\"wp-block-rank-math-toc-block\" id=\"rank-math-toc\"><h2>Table of Contents<\/h2><nav><ul><li><a href=\"#why-does-the-you-dont-have-permission-to-access-on-this-server-error-occur\">Why Does the \u201cYou Don\u2019t Have Permission to Access \/ On This Server\u201d Error Occur?<\/a><\/li><li><a href=\"#what-is-the-403-forbidden-error\">What Is the 403 Forbidden Error?<\/a><\/li><li><a href=\"#what-causes-the-forbidden-error\">What Causes the Forbidden Error?<\/a><ul><li><a href=\"#1-incorrect-file-directory-permissions\">1. Incorrect File \/ Directory Permissions<\/a><\/li><li><a href=\"#2-misconfiguration-of-the-apache-configuration-files\">2. Misconfiguration of the Apache Configuration Files<\/a><\/li><li><a href=\"#3-misconfiguration-of-htaccess-file\">3. Misconfiguration of .htaccess File<\/a><\/li><li><a href=\"#4-check-file-ownership\">4. Check File Ownership:<\/a><\/li><li><a href=\"#5-plugin-theme-conflict\">5. Plugin\/Theme Conflict:<\/a><\/li><li><a href=\"#6-clear-browser-cache\">6. Clear Browser Cache:<\/a><\/li><li><a href=\"#7-contact-hosting-support\">7. Contact Hosting Support:\u00a0<\/a><\/li><\/ul><\/li><li><a href=\"#fix-the-htaccess-file-for-your-word-press-website\">Fix the .htaccess File for Your WordPress Website<\/a><\/li><\/ul><\/nav><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"why-does-the-you-dont-have-permission-to-access-on-this-server-error-occur\">Why Does the \u201cYou Don\u2019t Have Permission to Access \/ On This Server\u201d Error Occur?<\/h2>\n\n\n\n<p>The major causes of the &#8220;you don&#8217;t have permission to access \/ on this server&#8221; include a server-side issue with the website you are trying to access, interference from the browser&#8217;s cache and cookies, a website not being accessible in your geographical location, an interference from your ISP or merely using a proxy server on your Windows device.<\/p>\n\n\n\n<p>To fix the &#8220;you don&#8217;t have permission to access \/ on this server&#8221; issue on your browser, you need to clear the browser&#8217;s cache and cookies, enable or disable a <a href=\"https:\/\/en.wikipedia.org\/wiki\/Virtual_private_network\" rel=\"nofollow noopener\" target=\"_blank\">VPN<\/a>, change the DNS, delete your browser history, or disable any proxy network you&#8217;re using. There may also be a need to reset or reinstall the browser if the major fixes do not work.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"what-is-the-403-forbidden-error\">What Is the 403 Forbidden Error?<\/h2>\n\n\n\n<p>Also referred to as the&nbsp;<strong>403 Forbidden error<\/strong>, Apache\u2019s \u2018<strong>Forbidden Error<\/strong>\u2019 is an error that is displayed on a web page when you are attempting to access a website that\u2019s restricted or forbidden.<\/p>\n\n\n\n<p>It is a standardized HTTP status code indicating that the web server understands the request but is unable to authorize access due to permission issues.<\/p>\n\n\n\n<p>It\u2019s usually splashed on the browser as shown.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"607\" src=\"https:\/\/domainregistrationindia.co.in\/blog\/wp-content\/uploads\/2024\/04\/image-3-1024x607.png\" alt=\"\" class=\"wp-image-250\" srcset=\"https:\/\/domainregistrationindia.co.in\/blog\/wp-content\/uploads\/2024\/04\/image-3-1024x607.png 1024w, https:\/\/domainregistrationindia.co.in\/blog\/wp-content\/uploads\/2024\/04\/image-3-300x178.png 300w, https:\/\/domainregistrationindia.co.in\/blog\/wp-content\/uploads\/2024\/04\/image-3-768x456.png 768w, https:\/\/domainregistrationindia.co.in\/blog\/wp-content\/uploads\/2024\/04\/image-3.png 1138w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"what-causes-the-forbidden-error\">What Causes the Forbidden Error?<\/h2>\n\n\n\n<p>The \u2018<strong>403 Forbidden Error<\/strong>\u2018 occurs due to the following main reasons:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"1-incorrect-file-directory-permissions\">1. Incorrect File \/ Directory Permissions<\/h3>\n\n\n\n<p>This error can be triggered due to incorrect file\/folder permissions on the webroot directory. If the default file permissions are not adjusted to grant users access to the website files, then the chances of this error popping on a web browser are high.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"2-misconfiguration-of-the-apache-configuration-files\">2. Misconfiguration of the Apache Configuration Files<\/h3>\n\n\n\n<p>This error can also be attributed to a misconfiguration of one of the Apache configuration files. It could be an incorrect parameter that has been included or missing directives in the configuration file.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"3-misconfiguration-of-htaccess-file\">3. Misconfiguration of .htaccess File<\/h3>\n\n\n\n<p>Another frequent reason for encountering this HTTP response code is a damaged or improperly configured&nbsp;<code>.htaccess<\/code>&nbsp;file. When this occurs, the 403 Forbidden error typically surfaces after modifying the&nbsp;<strong>.htaccess<\/strong>&nbsp;file.<\/p>\n\n\n\n<p>Typically, users can address this by either generating a new\u00a0<strong>.htaccess<\/strong>\u00a0file or rectifying its configurations.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"4-check-file-ownership\">4. Check File Ownership:<\/h3>\n\n\n\n<p>Ensure that the files and directories in your web server have the correct ownership. They should be owned by the user or account that the web server runs under.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"5-plugin-theme-conflict\">5. Plugin\/Theme Conflict:<\/h3>\n\n\n\n<p>If the error starts after installing a new plugin or theme, try disabling it to check if it&#8217;s causing the issue. Sometimes, conflicts between plugins or themes can trigger the 403 Forbidden error.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"6-clear-browser-cache\">6. Clear Browser Cache:<\/h3>\n\n\n\n<p>Sometimes, the error might be cached in your browser. Clear your browser cache or try accessing the site from a different browser or device to see if the error persists.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"7-contact-hosting-support\">7. Contact Hosting Support:\u00a0<\/h3>\n\n\n\n<p>If none of the above steps resolve the issue, get in touch with your <a href=\"https:\/\/www.domainregistrationindia.co.in\/shared-web-hosting.html\">hosting<\/a> provider&#8217;s support team. They can investigate further and identify the root cause of the 403 Forbidden error.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"fix-the-htaccess-file-for-your-word-press-website\">Fix the .htaccess File for Your WordPress Website<\/h2>\n\n\n\n<p>The&nbsp;<strong>.htaccess<\/strong>&nbsp;file serves as a distributed config file and tells the web server how to handle things like configuration changes per directory. Sometimes this file can get corrupted and may result in the &#8220;you don&#8217;t have permission to access \/ on this server&#8221; error.<\/p>\n\n\n\n<p>Luckily, if that&#8217;s what is causing the 403 error on your server, you can easily fix this by creating a new .htaccess file. To create a new .htaccess file for your website, first, log in to your WordPress dashboard. Then, click on&nbsp;<strong>Settings &gt; Permalinks<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/static1.makeuseofimages.com\/wordpress\/wp-content\/uploads\/2021\/07\/pemalink-update-in-wordpress-site.png\" alt=\"permalink update in wordpress site\"\/><\/figure>\n\n\n\n<p>You don&#8217;t have to make any additional changes here. Just click on the\u00a0<strong>Save Changes<\/strong>\u00a0button and WordPress will generate a fresh .htaccess file for you.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"494\" src=\"https:\/\/domainregistrationindia.co.in\/blog\/wp-content\/uploads\/2024\/04\/image-4-1024x494.png\" alt=\"\" class=\"wp-image-254\" srcset=\"https:\/\/domainregistrationindia.co.in\/blog\/wp-content\/uploads\/2024\/04\/image-4-1024x494.png 1024w, https:\/\/domainregistrationindia.co.in\/blog\/wp-content\/uploads\/2024\/04\/image-4-300x145.png 300w, https:\/\/domainregistrationindia.co.in\/blog\/wp-content\/uploads\/2024\/04\/image-4-768x370.png 768w, https:\/\/domainregistrationindia.co.in\/blog\/wp-content\/uploads\/2024\/04\/image-4.png 1431w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>So anytime you see &#8220;you don&#8217;t have permission to access this resource&#8221; or &#8220;unable to read htaccess file, denying access to be safe&#8221; on Apache servers, try creating a new .htaccess file. This method usually works well for WordPress websites.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A\u00a0Forbidden\u00a0error, usually a\u00a0403 error, indicates that the server understands the request, but it refuses to authorize it Why Does the \u201cYou Don\u2019t Have Permission to Access \/ On This Server\u201d Error Occur? The major causes of the &#8220;you don&#8217;t have permission to access \/ on this server&#8221; include a server-side issue with the website you [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":251,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21],"tags":[],"class_list":["post-249","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-forbidden"],"_links":{"self":[{"href":"https:\/\/domainregistrationindia.co.in\/blog\/wp-json\/wp\/v2\/posts\/249","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/domainregistrationindia.co.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/domainregistrationindia.co.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/domainregistrationindia.co.in\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/domainregistrationindia.co.in\/blog\/wp-json\/wp\/v2\/comments?post=249"}],"version-history":[{"count":3,"href":"https:\/\/domainregistrationindia.co.in\/blog\/wp-json\/wp\/v2\/posts\/249\/revisions"}],"predecessor-version":[{"id":255,"href":"https:\/\/domainregistrationindia.co.in\/blog\/wp-json\/wp\/v2\/posts\/249\/revisions\/255"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/domainregistrationindia.co.in\/blog\/wp-json\/wp\/v2\/media\/251"}],"wp:attachment":[{"href":"https:\/\/domainregistrationindia.co.in\/blog\/wp-json\/wp\/v2\/media?parent=249"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/domainregistrationindia.co.in\/blog\/wp-json\/wp\/v2\/categories?post=249"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/domainregistrationindia.co.in\/blog\/wp-json\/wp\/v2\/tags?post=249"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}