What files and directories do you remove in production? #1664
-
My list:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
If you are using Apache webserver you can use RedirectMatch directive in .htaccess file located in OM root directory. You are able to block accessing these files you want to delete also Magento routes. Bots are still looking for downloader, mage, RELEASE_NOTES.txt, install.php. Here is an example:
A 404 error tells a bot there is a broken or dead link and it is one of the most recognizable errors encountered on Internet. A 403 error tells a bot the resource is there but it cannot be accessed an invitation for new attempts. Deleting directories/files is a secured way to protect your installation. |
Beta Was this translation helpful? Give feedback.
If you are using Apache webserver you can use RedirectMatch directive in .htaccess file located in OM root directory. You are able to block accessing these files you want to delete also Magento routes. Bots are still looking for downloader, mage, RELEASE_NOTES.txt, install.php. Here is an example: