Php 并行Plesk-我的wordpress主页上出现404错误
我收到错误404-在我的Wordpress主页上找不到页面。我认为重写规则很好,因为我可以看到另一页- 但是如果我直接调用Php 并行Plesk-我的wordpress主页上出现404错误,php,wordpress,.htaccess,Php,Wordpress,.htaccess,我收到错误404-在我的Wordpress主页上找不到页面。我认为重写规则很好,因为我可以看到另一页- 但是如果我直接调用index.php文件,我将得到所需的结果- 我认为重写规则很好,因为我仍然可以看到其他页面。我甚至设置了重定向规则,但它不起作用。这是我的.htaccess DirectoryIndex index.php index.html Redirect / index.php # BEGIN WordPress <IfModule mod_rewrite.c>
index.php
文件,我将得到所需的结果-
我认为重写规则很好,因为我仍然可以看到其他页面。我甚至设置了重定向规则,但它不起作用。这是我的.htaccess
DirectoryIndex index.php index.html
Redirect / index.php
# 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>
# END WordPress
DirectoryIndex.php index.html
重定向/index.php
#开始WordPress
重新启动发动机
重写基/
重写规则^index\.php$-[L]
重写cond%{REQUEST_FILENAME}-F
重写cond%{REQUEST_FILENAME}-D
重写规则/index.php[L]
#结束WordPress
我使用的是Parralel Plesk,该站点以前使用的是.asp
,因此我使用index.php
覆盖它。
你能帮我找出问题的根源吗?你使用过重定向插件吗?没有。我只安装了jigoshop和一些jigoshop扩展、WP Better电子邮件和我的登录主题