How to configure htaccess to prohibit access to a certain URL or controller?
For example:
abc.com/index.php/admin
or abc.com/admin.php
Because I want to change the background method address to the defined one abc.com/diy,
and background access and login are only allowed in this way
so the original one must be banned Backend access address method
How to configure htaccess to prohibit access to a certain URL or controller?
For example:
abc.com/index.php/admin
or abc.com/admin.php
Because I want to change the background method address to the defined one abc.com/diy,
and background access and login are only allowed in this way
so the original one must be banned Backend access address method
Can't you just change the name of the backend entrance in the configuration file? What kind of htaccess should you use? The security of this thing is not that high (besides, just changing the form will not change the essence). Those who know the entrance always know, and those who don't usually have no interest in guessing. Because the url is randomly determined, why do you have to run through all the combinations for several days just to know the url? And then test the account and password with all possible combinations? It would be easy for hackers to be so unskilled.