The most common causes of 403 error are these:

Incorrect permissions

You may have incorrect file or folder permissions. If that’s the case, you can easily fix the permissions of your files

.htaccess

There are some incorrect settings in the .htaccess file. To quickly check if it’s truly the cause, simply rename the .htaccess file to something like .htaccess-disabled. Then try accessing your website, if it works - it means you need to double-check your .htaccess code.

For WordPress specifically, some security plugins can add Deny from All rules to your .htaccess files:

So in case you are experiencing 403 errors, look for these lines and remove them if necessary.

NOTE:

  • Such WordPress plugins can also create .htaccess files in directories like wp-admin and prevent you from reaching them

Incorrect A record

You may have pointed to the wrong IP address, make sure to check if the A record is set to the same from your hosting plan

For additional information on fixing 403 errors, check this comprehensive tutorial: What Is the 403 Forbidden Error & How to Fix.

Did this answer your question?