wordpress网站访问文件夹显示目录文件

  1. 表示安装了WP Super Cache看到如下提示(使用的apache2):WP Super Cache Warning
  2. 浏览器访问果然可以看到目录信息,吓 -_=
  3. 然后在网站根目录.htaccess文件中加入一行Options -Indexes
  4. 解决问题

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.