Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/wordpress/11.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
卸载Wordpress,网站不会指向index.html_Html_Wordpress_Twitter Bootstrap_Digital Ocean - Fatal编程技术网

卸载Wordpress,网站不会指向index.html

卸载Wordpress,网站不会指向index.html,html,wordpress,twitter-bootstrap,digital-ocean,Html,Wordpress,Twitter Bootstrap,Digital Ocean,我安装了wordpress,然后不太喜欢它,决定使用引导程序用HTML构建我的网站 我创建了一个index.html,并将其放入/var/www/html 但是,当我访问www.mysite.com时,它不像以前那样自动转到我的index.htmlwww.mysite.com/index.html确实有效 如何卸载wordpress或将我的站点重新定向到我的新索引?在同一文件夹中是否有.htaccess文件?我运行了ls,但没有看到任何内容。我需要比一个典型的ls更多的来查看隐藏的文件吗?不,我

我安装了wordpress,然后不太喜欢它,决定使用引导程序用HTML构建我的网站

我创建了一个
index.html
,并将其放入
/var/www/html

但是,当我访问www.mysite.com时,它不像以前那样自动转到我的index.html<代码>www.mysite.com/index.html确实有效


如何卸载wordpress或将我的站点重新定向到我的新索引?

在同一文件夹中是否有
.htaccess
文件?我运行了ls,但没有看到任何内容。我需要比一个典型的ls更多的来查看隐藏的文件吗?不,我没有那个文件。我甚至做了一个nano.htaccess的双重检查,结果是空的,你几乎可以肯定。WordPress在安装时将自己的规则添加到
.htaccess
。这些规则会导致你遇到的问题。如果您添加
index.php
并回显“hello world”,我打赌如果我有它,您将得到它,那么它不在/var/www/html中