【发布时间】:2015-01-01 04:12:12
【问题描述】:
我为某人创建了一个新网站,但是当我尝试实时启动它时,我遇到了链接问题。 并且常规链接也会获得特定的“字符串”。
例子:
<link rel="stylesheet" href="http://sites.com/style.css"> -> <link rel="stylesheet" href="http://sites.com/web/index.html/style.css">
<a href="http://sites.com/contact"> -> <a href="http://sites.com/web/index.html/contact">
在 wordpress 编辑器中每次更改后,链接都会再调整一个 /web/index.html/ 。
wordpress 数据库中的链接很好。
【问题讨论】:
-
您原来的
href缺少协议。另外,there's not enough information here to reproduce the problem. -
我编辑了我的帖子。我不知道为什么每次对我的域名的引用都会得到这个字符串。
-
干净安装默认主题的 WordPress 会发生这种情况吗?
-
我刚刚测试过,是的,问题仍然存在。
-
必须与您的托管服务提供商有关?
标签: wordpress .htaccess shared-hosting