只有www中的索引指向不同的页面

时间:2014-09-18 19:15:38

标签: html apache no-www

我有以下问题:

当我尝试访问www.example.com/index.html时,我的页面与页面example.com/index.html不同

该问题仅出现在主索引文件中。其他一切都还可以。

e.g。 www.example.com/folder/与example.com/folder /

相同

我仔细检查了dns /绑定设置。

www是example.com的别名

另外,我打开了index.html文件夹中的源代码../www/example.com/index.html代码与/public_html/example.com/index.html中的代码相同p>

如何修复?

1 个答案:

答案 0 :(得分:0)

重新安装WP并再次检查