WordPress 设置伪静态
    保存成 .htaccess 放到网站根目录,WordPress固定连接中即可删除 index.php 及加 .html

    1. # BEGIN WordPress
    2. <IfModule mod_rewrite.c>
    3. RewriteEngine On
    4. RewriteBase /
    5. RewriteRule ^index\.php$ [L]
    6. RewriteCond %{REQUEST_FILENAME} !-f
    7. RewriteCond %{REQUEST_FILENAME} !-d
    8. RewriteRule . /index.php [L]
    9. </IfModule>
    10. # END WordPress