我已经为此设置了永久链接
> /%postname%/
但是在 url 中,如果帖子有一个类别,它仍然显示在 url
是否可以更改进行更改,以便此 url:
对此
htaccess 看起来像这样
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>