WordPress应删除的文件

By AdStation | March 7th, 2025 | Categories: Z-Notes

WordPress安装后,为了安全起见,应当删除以下文件。

根目录

  • readme.html
  • license.txt
  • wp-config-sample.php

wp-admin目录

  • install.php
  • install-helper.php

备注:除了这些文件应删除外,还可以删除初始安装自带的插件、主题、页面、文章、媒体等内容,把网站先弄干净,再添砖加瓦。