- Incorrect location of site files on hosting. The main site files should be placed in a directory of the type
example.com/www, subdomain files - in a directory of the typeexample.com/sub(example.com- the name of your site,sub- the name of the subdomain). - There is no file named , or in the site root directory . If the site's main page file is named differently, either rename it or override the default page .
index.phpindex.htmlindex.htm - You have restricted access to the site through our control panel. Find out your current IP address and country using our tool (or any other) and in the access restriction settings, open access for them if it was closed. If you did not change the access settings, but access disappeared, then the reasons for the 403 error may be different: your provider changed your IP, you enabled a proxy or VPN on your device, you are opening the site from another network or country, etc.
- If the file is present in the root directory of the site
.htaccess:- Check it for directives restricting access to the site or closing access to the directory. To enable access, you can remove or comment out the lines with such directives by adding a symbol at the beginning of the line with them
#. - Check it for a redirection directive to another site directory. If such directives are present, the index file will be searched not in the root directory of your site, but in the directory specified in the directive.
- When accessing the site, one of the blocked User-Agents is used . You can view the User-Agent of all incoming requests in the access logs .
- If none of the options work, the problem may be with the permissions on the files and directories. Try restoring them .
- The site uses a traffic filtering service and access is allowed only from IP addresses of this service , but the request is bypassing this service.
0 commentaires:
Enregistrer un commentaire