How to Fix 403 Forbidden Error on WordPress

How to Fix 403 Forbidden Error on WordPress

When we publish any article or page on our WordPress website, we got 403 forbidden errors. This is a common problem that every WordPress user could face. This is also a headache for WordPress users to solve. For me, I’ve got this error for a long time on different websites. Then I found out that it will happen due to many reasons like server response issues, htaccess file issues, or security permissions issues. That’s why my website got 403 forbidden errors when I save any post or page on it. Here I am going to share the solutions that I found and tested with different wordpress websites.

What is the 403 error and how does it effects our website?

The 403 forbidden nginx is error shows when we have wordpress CMS for the website. It will affect blog posts and website pages when we try to edit and try to publish. If this error is shown on your website seldomly then ignore it because it may be occurring due to a slow server but if you are facing this issue regularly or on every publication then you need to fix it as soon as possible. You cant change any pages & blog posts in wordpress till you fix the 403 forbidden error.

What are some common techniques to fix WordPress 403 error?

There are many techniques to fix http 403 forbidden error in wordpress with a simple and easy way for any user. If you don’t have any development knowledge then you can also fix it with these simple steps. When I’m facing these types of wordpress website errors then firstly create a website backup with All in One Backup Plugin for wordpress and then take some actions.

Plugin Deactivation

The common and best way to solve 403 error wordpress. First of all, go to the wordpress dashboard and go to plugins > installed plugins. Select all plugins and deactivate all plugins. When you deactivate the all plugins then test your website with publishing and blog posts. If you do not get back forbidden 403 error then you have some defective plugin in your wordpress website.

Fix 403 Forbidden Error on WordPress

In this way to fix the wordpress error, you just activate the plugins one by one and test your website. You can easily find the defective wordpress plugin on your website. Deactivate this plugin again and use your website normally.

Re-Create .htaccess file

The impressive way to fix the wp 403 forbidden error is by recreating a .htaccess file in your website directory. To use this technique you need to login into your Cpanel dashboard via direct login or FTP Servers. In the file manager, you will see your website folder and you will see the .htaccess file. If you can’t see then you can un-hide from the setting which is located top right corner of the file manager. After seeing htaccess website you just need to delete the .htacces file and go back to the file manager.

403 Forbidden Error

After completing this step just go to the wordpress dashboard via website.com/wp-admin and go to the setting which is located left sidebar. In the setting, you just click on the second last option permalinks. Here just you need to save the permalinks with a single click and it will recreate the .htacces file in Cpanel. 

403 Forbidden Error

After doing the mentioned technique you can check your website it will be 403 error-free with this simple way.

Cpanel Mod Security

The security mod is also a factor for 403 forbidden errors. In your wordpress website. You can fix the Namecheap 403 forbidden error in just a simple way via your CPanel dashboard. In the hosting dashboard, you just find Mod Security and click on it. You will see the all websites which are attached with this hosting Cpanel. Just off the status on the desired domain which is located right side of the website list.

403 Forbidden Error

Conclusion

When you’re running a WordPress website,  WordPress uses a special file called .htaccess to control access to your website. Sometimes you’ll likely run into the 403 forbidden error. This can be frustrating, but there are some simple steps that you can take to get it resolved quickly so that you can get back to business. In this article, we’ll run through some of the most common causes of the 403 error and how to fix them.

Related post

Leave a Reply

Your email address will not be published.