How to Fix 403 Forbidden Error WordPress

Fix 403 Forbidden Error WordPress, a most common error faces by many WordPress developers. In this WordPress guide i will show you how to easily fix 403 forbidden error in WordPress. The 403 Forbidden error is a HTTP status code which means that accessing the page or resource you were trying to reach is absolutely forbidden for some reason. This article contains basic troubleshooting instructions for 403 Forbidden errors in WordPress. Before that we have to know exactly what is 403 forbidden – access denied error in WordPress. WordPress forbidden is the main reason for WordPress access denied message.

What is 403 Forbidden – Access Denied error in WordPress

WordPress shows some kind of messages or codes on your website when 403 Forbidden error occurred. You will get some kind of message like below images and that means you are getting 403 forbidden error.

403 forbidden screenshot

403 forbidden error shown when you don’t have permission to the requested web page. A web server may return a 403 Forbidden HTTP status code in response to a request from a client like you and me for a web page or resource to indicate that the server can be reached and understood the request, but refuses to take any further action due to permission set. Status code 403 responses are the result of the web server being configured to deny access, for some reason, to the requested resource. Usually you can get below common lines of text when 403 error display for your requested web page.

403 Forbidden – You don’t have permission to access ‘/’ on this server.

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

In different cases or different areas you can get this type of error. Like –

  • 403 forbidden in WordPress admin or in WP-login
  • 403 forbidden during installation
  • 403 forbidden during request a particular page
  • 403 forbidden when requesting you domain
  • You can also get sometime Access Denied message only instead of 403 forbidden.

So now you are aware in which area you can get 403 forbidden error in WordPress. Now i will discuss about the causes and how to fix easily step by step.

Why 403 Forbidden Error in WordPress?

There are several reasons to generate this type of error message. Basically in most of the cases its happened due to configuration of poor WordPress security plugins. Also it can be generate due to corrupt .htaccess file or incorrect file permission on your server. Also it is possible die to your hosting and server. Because some time hosting provider companies changes some settings in server. So these are the basic reason for getting 403 forbidden error in your site.

Learn how to solve 403 forbidden error in WordPress

Fixing 403 forbidden error WordPress

First of all you need to take a backup of your website before anything to do with you site files. You can go through once how to manually create a WordPress backup or via automatic WordPress backup plugin.

1.Fix 403 forbidden error caused by WordPress plugins

You need to do some simple steps and after completing those steps if this error happens due to some WordPress plugin it can be easily fix. Firstly you need to deactivate all the WordPress installed plugin and start activate one by one. In between you have to check that particular page where you got 403 forbidden – access denied error.

If this issue solved then you can confirm that any one of those plugin causes this error. Just delete this plugin and use some alternative plugin instead of this.

2.Fix 403 forbidden error WordPress caused by .htaccess file

A .htaccess file is a directory-level configuration file supported by several web servers, used for configuration of site-access issues, such as URL redirection, URL shortening, Access,security control and more. So 403 forbidden may happen due to some corrupt .htaccess file.

First you need to connect your file manager via ftp client or c-panel and just delete the existing .htaccess file. Remember to take a back up of this file Before that. After that just go through on that particular web page where you got access denied error message. If issue solved then you can identify that .htaccess file is the main reason for your website 403 forbidden error. Now you need to create a fresh .htaccess file for your site.

3.Fix 403 forbidden error WordPress caused by file permission

File permissions in WordPress also a valid reason for 403 forbidden error in WordPress. All files and folders have file permission in the server. And this permission set define that which folder and files can be access through your browser. In case of incorrect file permission may cause this error. So just check particular file from file manager in your server and if not permission set to 744 or 755 then just change the file permission and give access to browse from browsers. If the 403 forbidden occurred due to incorrect file permission then it will be solve with this previous steps.

We hope this article will help you to fix 403 forbidden error WordPress. If you liked this WordPress guide, then please subscribe to our newsletter list to get all the updates from click4knowledge. Share and like will be appreciated.

One response to “How to Fix 403 Forbidden Error WordPress”

  1. Sahadath Hossain says:

    Informative article. Thanks for sharing.

Leave a Reply

Your email address will not be published. Required fields are marked *