We have found out what error 403 means. Now let's figure out how to reproduce it ourselves. For example, you want to restrict access to a user or a group of users based on one or another attribute. The .htaccess file will help with this. In the standard Joomla CMS distribution, it is called htaccess.txt. Assign a new name to it by putting a period at the beginning of the title. You can also use the Notepad ++ program, in which you need to write the following:
We provoke 403 ourselves
This command will restrict advertising database access to the file for all users whose IP differs from the specified one. As you remember, the Internet protocol of most users is dynamic, so restrictions should be specified in the Deny directive. Fill the third and fourth groups of digits in the IP address with zeros. You can block users from a specific country. For example, if you specify 81.4.0.0/14, then all users whose Internet protocol starts with 81.4 will not be able to access the resource; the number 14 after the slash indicates blocking.
To determine the attacker's IP address, you need to use one of the following options:
CMS components (forum) indicate this address, and the administrator learns about the new post;
examine the log file stored on the host.
The log file is quite large, but if you spend time studying it, you will accurately identify the villain, correlating the moment of his appearance on the site with the time of malicious changes, and then you can easily block him.
You can also restrict access to critical directories. In Joomla, this includes the Libraries folder.
Create an .htaccess file and specify the following parameters in it:
Order allow deny
Deny from all
The file must be placed in a folder with restricted access. After that, upon request, which specifies the site name followed by /Libraries, the user will be sent the message "Error 403 disallowed useragent".
Case: VT-metall
Find out how we reduced the cost of attracting an application by 13 times for a metalworking company in Moscow
Find out how
Hosting is unavailable
Often, a 403 server error can occur if there is no access to the hosting, which may be blocked by the provider itself for a specific user. This is most often due to a violation of technical requirements or conditions of the hosting agreement. As a rule, before blocking, an email is sent with a warning and an indication of its reasons, time is given to eliminate the deficiencies. After the expiration of the term, if the violations are not eliminated, blocking occurs.
Hosting is unavailable
Therefore, first of all, you need to check your email and find a letter with the appropriate content, and then fulfill the provider's requirements specified in it. If such a message is not found, then most likely the cause of the problem lies elsewhere.
Disabling WordPress Plugins
If you still can't figure out why the 403 error is appearing, there's a chance that there's a problem with your WordPress plugins. They may not be working or may not be compatible with the site settings you've specified.
In this case, you should first try to disable the plugins. To do this, go to the "Wp-content" section and find the "Plugins" folder in it. Rename it, after which the site will not be able to detect and load the previously specified plugin. Now open the page again. If it loads, then the problem was in the plugins. All that remains is to find out which of them caused the problems. To do this, you can return the previous names to the folders, and then disable each one separately in a similar way. When the problematic plugin is detected, it must be reinstalled or replaced with another.
Recommended articles on this topic:
Examples of USP to make yours even cooler
How to get contacts from a client: the most effective methods
Absolutely Free Internet Advertising: 19 Options