Delete default readme.html should be repeated automatically or made inaccessible
-
Feature request
Regarding the option:
SG Security > Site Security > Delete the Default Readme.html
As the name implies, this deletes the default
/readme.html
.However, WordPress restores that file every time it is updated.
I think that this should instead be a toggle switch. If turned off, obviously
/readme.html
is left alone.But, if turned on, SG Security not only deletes
/readme.html
immediately but also deletes it every time when WordPress is updated.Alternatively, instead of deleting the file and having to watch for it, the file could be made inaccessible via
.htaccess
, adding it toFilesMatch
. Something like this:<FilesMatch "xmlrpc\.php$|php\.ini$|php_errorlog$|readme\.html$"> Require all denied </FilesMatch>
Otherwise, there is little point to this option.
- The topic ‘Delete default readme.html should be repeated automatically or made inaccessible’ is closed to new replies.