How to Fix 403 Forbidden Error in WordPress in 2021.?

Friends sometimes this happens with us, we want to access our website. But at that time you have a message show named “Forbidden”.

Almost every new beginner has to face wordpress error at some time. One such error is that users who use WordPress often have to face it.

In this article, we will tell you how you WordPress website I am showing Let us fix 403 forbidden error, but before that we should know what is 403 forbidden error.

403 What is a Forbidden Error?

As we all know, whenever there is some kind of problem in our website of friends. So our website shows us messages and codes as errors.

It is such that the 403 Forbidden error code is then shown to you. When your server does not allow access to any specific specific page or does not give its permissions.

This is the reason whenever you have a 403 Forbidden error show on your website. So that error is shown to you as text, as we have shown below.

You may show this error in many ways, such as –

  • 403 Forbidden – This denies you access to wp-admin or wordpress login page.
  • 403 Forbidden – When you WordPress install If you are doing, then at that time you can show this error.
  • 403 Forbidden error can show you even when you WordPress website Let’s visit any page.
  • Apart from this, 403 Forbidden error can deny you access to your entire website.
  • Apart from this, it can also deny accessing your domain. It tells you that you do not have authorization to view this page.

So friends as you have already seen that apart from having 403 errors of different types, it also denies accessing different areas. Let us now know why there are 403 Forbidden error shows on our website.

What causes 403 Forbidden Error in WordPress?

Friends, the most common reason for our WordPress to have a 403 Forbidden error show is the poorly configured security plugins in WordPress.

Many WordPress security plugins can block any IP address. If they think this IP addresses are malicious.

This is the reason why we suggest our users to use the Sucuri plugin for the security of their WordPress website. Now we know why 403 Forbidden error show.

Similarly, there are some other reasons also, due to which you may have 403 Forbidden error show in WordPress. Such as – corrupt .htaccess file or may be due to incorrect file permissions in your server.

Many times it happens that some changes are made in our server settings accidentaly by our WordPress hosting company. Because of which you get 403 Forbidden error show on your website.

Fix 403 Forbidden Error in WordPress

Friends before you start fixing 403 Forbidden error in your wordpress. Before that you create a backup of your website.

If you have been taking automatic backup of your WordPress website. So you have to make sure that the latest backup file of your site should be secure with you.

Fixing 403 Forbidden Error with WordPress Plugin

To fix 403 Forbidden error in your website by friends wordpress plugin. First of all you have to deactivate all the plugins installed in your wordpress.

If you have any security plugin installed in your wordpress, then you have to deactivate them as well. If you do this, your site is no longer showing error.

This means that one of the plugins installed in your WordPress is responsible for this error. Now you have to find the plugin, due to which this error is being shown to you.

For this, you have to activate every plugin that has been deactivated in your WordPress one by one. Every time you activate a plugin, you have to check the 403 Forbidden error in your site.

After activating the plugin, 403 Forbidden error show started in your WordPress website. You have to deactivate that plugin again and uninstall it and can use an alternative plugin instead.

Fix 403 Forbidden Error Due to Corrupt .htaccess File

Friends if 403 Forbidden error is still showing on your website. While you have checked and deactivate all the plugins installed in your WordPress.

Even after this, if you are having an error show, this means. That 403 Forbidden error is happening due to your corrupt .htaccess file in your website.

So we have to repair our .htaccess file, which is very easy if you do it properly and with full attention. So first of all you need to Ftp client Have to connect using

If you do not want to use FTP, then you have to go to your cPanel and visit the file manager. After this you have to locate the .htaccess file in the root folder of your WordPress website.

If you are not getting the .htaccess file show, then you can read our guidance article for this. Why You Can’t Find .htaccess File in Your WordPress Website in Hindi

Before you delete the .htaccess file from your server. Before that you have to do a backup download of the .htaccess file in your computer.

After backing up the .htaccess file, you have to delete the .htaccess file from your server. After that you have to go back to your website and check the 403 Forbidden error.

That the error is still being shown to you or not, if you are not showing that error. This means that there is some kind of problem in the .htaccess file of your website.

So now you have to generate a fresh .htaccess file for your website. For this, you just have to login in your WordPress admin area.

After that you Settings >> Permalinks Have to visit the page by clicking. Now you simply Save changes Click on the button So that WordPress will generate a fresh .htaccess file for you.

In this way friends you can generate a new and fresh .htaccess file instead of your corrupt .htaccess file. Hopefully by doing this, 403 Forbidden error will no longer show on your website.

Fix 403 Forbidden Error Due to File Permissions in WordPress

If despite following the above two steps above, if 403 Forbidden error is showing in your WordPress website. So you have to fix it with the file permission in your wordpress.

As you may be aware that all the files in your website store file permissions. This file permission controls who can view or access any files and folders in your website.

To check correct file permissions for your website, you need to WordPress hosting Should say to the provider. Some hosting providers are very supportive with their customers.

They check the file permissions in the host and fix it for you. If your hosting provider does not help you in this, then you will have to do this work manually.

But friends, let us tell you that changing file permissions by itself can be risky, it can also have many serious consequences.

If you are not feeling confident in this work yourself. So it would be better if you take help from your knowledgeable friends or hire a professional for this.

If you want to do this work yourself then we will tell you how you can check your file permissions on your own. First of all, you just have to connect your WordPress site using FTP client.

After that you have to go to the root folder of your wordpress website, where all your wordpress files are present. Now you have to select the folder, after that right click then after that in the menu you have to select File Permissions.

After which your FTP client will show you the file permissions dialog box. You have to keep in mind that all the folders in your WordPress website should have file permissions of 744 or 755.

All files on your WordPress website should have a file permission of 644 or 640. You can set file permission to 744 or 755 in the root folder.

After doing this, now you “Recurse into subdirectories Let’s check the check box. After that you “Apply to directories only” Has to be selected.

After this you OK Have to click on the button By doing this your FTP client will start setting permissios in all the subdirectories in your folder.

As soon as all this is complete, after that you have to repeat this process with all the files. This time you have to take 644 or 640 in file permission and then after that “Recurse into subdirectories” And “Apply to files only” To select the options.

Just like we did before, after that you will OK Have to click on the button After which your FTP client will start setting file permissions for all selected files.

After that you have to go back to your website and check whether 403 Forbidden error is still showing on your WordPress website or not.

We hope that after successfully completing this process, there will be no 403 Forbidden error show on your website. We hope that this article of our friends has proved helpful in fixing 403 forbidden error in your WordPress.

If you have any question, you can ask your question in the comments below. If you want, you can also email us directly at [email protected]

If you liked this information and this article was helpful for you, then share it with your friends on social media. If you are new to our website, then subscribe to our website.

So that you are getting notification of every latest post through email. This feature is completely free for our users, it does not incur any kind of charge, sooner or later.

Leave A Reply

Your email address will not be published.