首页 > 代码库 > wordpress的.htaccess很容易就被挂马啊

wordpress的.htaccess很容易就被挂马啊

wordpress的.htaccess很容易就被挂马啊

修改成这样吧:

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress