Wordpress 除了索引之外,我的所有页面都指向404页面

Wordpress 除了索引之外,我的所有页面都指向404页面,wordpress,Wordpress,我的永久链接设置:默认值:/?p=123有效,但如果我按帖子名切换到,所有页面都会停止工作,只需转到404即可检查永久链接设置,并查看是否已在.htaccess中启用重写 # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQ

我的永久链接设置:默认值:/?p=123有效,但如果我按帖子名切换到,所有页面都会停止工作,只需转到404即可检查永久链接设置,并查看是否已在.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>
#开始WordPress
重新启动发动机
重写基/
重写规则^index\.php$-[L]
重写cond%{REQUEST_FILENAME}-F
重写cond%{REQUEST_FILENAME}-D
重写规则/index.php[L]