📜  mod_rewrite 永久链接 wordpress - 任何代码示例

📅  最后修改于: 2022-03-11 15:00:45.700000             🧑  作者: Mango

代码示例1
# BEGIN WordPress

RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /wordpress/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /wordpress/index.php [L]

# END WordPress