How To Fix WordPress 403 Forbidden Error

Are you getting a 403 Forbidden error message on your WordPress site? This tutorial shows you how to troubleshoot and fix this issue …

How To Fix General WordPress ErrorsThis tutorial is part of our FREE WordPress Management training and WordPress Troubleshooting tutorial series.

In this series of step-by-step tutorials, we show you how to troubleshoot and fix common WordPress errors.

Important

Important: Always do a backup of your WordPress site (files and data) before modifying any files or performing any upgrades or installations! 

If you don’t want to do your own backups, then get professional support, or use a backup plugin.

How To Fix The WordPress 403 Forbidden Error

Normally, forbidden errors occur from incorrect permission settings on your WordPress installation folders or files …

403 Forbidden error message

(403 Forbidden error message)

Every file and folder in your server has a permission access number. This controls whether the content is readable, writable, or executable …

Permission settings

(Permission settings)

If permissions on certain folders or files are set incorrectly, errors will occur and users will not be able to access your content.

Although 403 forbidden errors on a WordPress site are normally easy to identify and fix if you are a technical user, for a non-techie this can take a little time and some experimenting.

Ideally, you would simply contact your web hosting company and they will probably be able to help you sort this issue out very quickly.

If you want to try and correct the problem yourself, the main causes of a 403 forbidden error tend to be one of the following:

Let’s take a look at each of these causes:

Incorrect WordPress Folder Or File Permissions Set

If WordPress directory folder or file permissions are set incorrectly, this can lead to errors, including 403 forbidden errors.

Normally, permissions for folders in your WordPress directory are set to 755 and permissions for files are set to 644 unless you’ve been instructed by a plugin developer or service provider to set different permissions for specific folders or files.

Check the following permissions first:

  • Your wp-config.php file permission is set for 644.
  • Your wp-login.php file permission is set for 644.
  • Your wp-admin folder permission is set for 755.

You can check and set permissions in your WordPress installation directory using an FTP program. For more details on setting file permissions, see this tutorial:

Warning

Setting permissions incorrectly can disable important features on your site, compromise site security, or prevent new content and information from being added to your WordPress directory folders. If you don’t know what you are doing or are not confident making changes in your server, contact your web host or use professional WordPress support services.

Corrupted .htaccess File

One of the common causes of 403 Forbidden errors is a corrupted .htaccess file in your WordPress installation directory. If the error is caused by a corrupted .htaccess file, the issue is quite simple to fix. All you need to do is create a new .htaccess file.

To learn how to create a new .htaccess file, see the tutorial below:

WordPress Plugin Or Theme Conflicts

If the internal server error is caused by conflicts between plugins or themes installed on your site, you may be able to solve the issue by deactivating and testing your plugins and themes one-by-one until you find the culprit(s).

To learn more about the process of testing plugins and themes for conflicts, see the tutorials below:

In addition to the above information, check out this video on how to fix the WordPress “403 Forbidden” error from the team at MyThemeShop:

(How to fix the WordPress 403  forbidden error. Video: MyThemeShop)

More WordPress Troubleshooting Tutorials

If you experience any other problems with WordPress, refer to the tutorials in the section below:

How To Fix General WordPress Errors

(Source: Pixabay)

***

"This is AMAZING! I had learnt about how to use WordPress previously, but this covers absolutely everything and more!! Incredible value! Thank you!" - Monique, Warrior Forum

***

Recommended Video Courses For WordPress Users

WordPress SecurityWordPress Security

Learn how to keep your WordPress site or blog secure and protected from malware, hackers and brute-force attacks.

More info: WordPress Security

Recommended Video Courses For WordPress Users

How To Set Up WordPress On LocalhostHow To Set Up WordPress On Localhost

Learn how to install, set up, and locally host a fully functioning WordPress site on your computer.

More info: How To Set Up WordPress On Localhost

Recommended Video Courses For WordPress Users

How To Use FTPHow To Use FTP

This video course shows you how to use FTP (File Transfer Protocol) to transfer and upload files between your hard drive and your server using a free FTP program called Filezilla.

More info: How To Use FTP

Recommended Video Courses For WordPress Users

Google ToolsGoogle Tools

This video course will help you learn the basics of using Google Tools like Google Analytics and Gmail.

More info: Google Tools

Recommended Video Courses For WordPress Users

How To Install, Set Up & Use WordPress MultisiteHow To Install, Set Up & Use WordPress Multisite

Learn how to quickly and securely set up an online community of websites or blogs using the powerful WordPress Multisite feature.

More info: WordPress Multisite

Recommended Video Courses For WordPress Users

How To Use cPanelHow To Use cPanel

cPanel is a powerful and simple-to-use web hosting management software application that gives website owners the ability to quickly and easily manage their servers and websites using a simple and intuitive dashboard.

This video course will teach you how to use the main features of cPanel to manage your web hosting.

More info: How To Use cPanel

Recommended Video Courses For WordPress Users

How To Optimize WordPressHow To Optimize WordPress

Learn how to optimize your WordPress site and improve your page loading speed.

More info: How To Optimize WordPress

Recommended Video Courses For WordPress Users

How To Back Up & Restore WordPress SitesHow To Back Up & Restore WordPress Sites

Learn how to safely and automatically backup your WordPress files and database and how to easily restore your WordPress site if something were to happen.

More info: How To Back Up & Restore WordPress Sites

Recommended Video Courses For WordPress Users

How To Set Up A Forum On WordPressHow To Set Up A Forum On WordPress

Learn how to set up a forum for your visitors, prospects, customers, members, or affiliates using WordPress.

More info: How To Set Up A Forum On WordPress

Recommended Video Courses For WordPress Users

Using Password ManagersUsing Password Managers

Password Managers provide an easy and secure way to keep track of all your passwords. This video course shows you how to use two FREE powerful password management tools.

More info: Using Password Managers

Author: Martin Aranovitch

Martin Aranovitch is the founder of WPCompendium.org and the author of The Small Business Digital Manager. WPCompendium.org provides hundreds of FREE tutorials that show you how to use WordPress to grow your business online with no coding skills required! Get our FREE "101+ WordPress Tips, Tricks & Hacks For Non-Techies" e-course with loads of useful WordPress tips!

Originally published as How To Fix WordPress 403 Forbidden Error.