Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/.htaccess/5.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
ipage:默认页面不指向index.html_Html_.htaccess - Fatal编程技术网

ipage:默认页面不指向index.html

ipage:默认页面不指向index.html,html,.htaccess,Html,.htaccess,我刚开始开发网页,由iPage托管。 我想发布我自己的index.html,而不是给定的。 但是,当我真正进入页面时,它会指向以前更改过的页面,该页面不再存在 我可以访问index.html,但只能在手动键入地址epseattle.com/index.html时访问 我该如何解决这个问题? 我已经尝试修复htaccess了 提前谢谢。请试试这个。将之前在web根目录中可用的原始index.html重命名为类似于index_1.html的内容。然后试试看 如果上述方法不起作用,请在.htacces

我刚开始开发网页,由iPage托管。 我想发布我自己的index.html,而不是给定的。 但是,当我真正进入页面时,它会指向以前更改过的页面,该页面不再存在

我可以访问index.html,但只能在手动键入地址epseattle.com/index.html时访问

我该如何解决这个问题? 我已经尝试修复htaccess了


提前谢谢。

请试试这个。将之前在web根目录中可用的原始index.html重命名为类似于index_1.html的内容。然后试试看


如果上述方法不起作用,请在.htaccess文件内容中发布。

在.htaccess文件中,尝试以下方法:

DirectoryIndex index.html

尝试关闭iPage服务器上的缓冲(您可以通过他们的站点进行此操作)。您还需要在浏览器上执行相同的操作。您的更改应该立即可见。请记住,这仅用于开发,严重限制了服务器的性能