首页 > 解决方案 > DirectAdmin 托管 - 默认页面重定向

问题描述

我在 DirectAdmin 上托管我的网站,域被重定向到example.com/wp,我删除了所有wp文件并将域重定向到example.com/index.html,但没有任何改变。我也更新了.htaccess文件

Directory Index index.html
Redirect 301 / http:example.com/index.html

但它仍然example.com/wp作为默认页面打开。

如何强制它通过默认域打开文件夹中的index.html页面?public_html

标签: wordpress.htaccesshostdirectadmin

解决方案


推荐阅读