Error 403 means that you have no access to specific resources. Most often it is related to specific server settings or incorrect page configuration. We have prepared for you a few solutions that can help you to fix this error.
Refreshing the site - sometimes the site simply does not load. It is always a good idea to perform the so-called hard refresh using a key combination such as Ctrl+Shift+R in Google Chrome browser.
Cleaning the cache - for this we have a separate article here: How to clear browser cache?
No index.php file - most often it is related to a neglected WordPress page. When the site is not updated, suspicious files or processes may affect the index file. Consider replacing this file with the default new one.
Incorrect .htaccess settings - when configuring a .htaccess
file it is very easy to break something. The best method is to restore it from the backup. Advice for the future - before you start modifying the file, first make a copy just in case.
Wrong file permissions - it often happens that when configuring the site, the permissions for directories or files (chmod) are set incorrectly. In such a situation it is worth setting such permissions:
- main directory of the website - 750
- other catalogs in the main catalog - 755
- files - 644