Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/fortran/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php 并行Plesk-我的wordpress主页上出现404错误_Php_Wordpress_.htaccess - Fatal编程技术网

Php 并行Plesk-我的wordpress主页上出现404错误

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>

我收到错误404-在我的Wordpress主页上找不到页面。我认为重写规则很好,因为我可以看到另一页-

但是如果我直接调用
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电子邮件和我的登录主题