【问题标题】:Cliking on page link of a wordpress site downloads its html code单击 wordpress 站点的页面链接下载其 html 代码
【发布时间】:2013-08-29 05:05:42
【问题描述】:

我已经创建了一个 wordpress 站点,但我可以看到,如果单击它的任何页面链接,而不是重定向到该页面,它的 html 源代码会被下载。 这是该网站的链接: http://royalascot.in/

【问题讨论】:

    标签: php wordpress http-headers


    【解决方案1】:

    这是因为您将页面内容类型设置为 'application/x-gzip'。

    尝试将其更改为“text/html”之类的内容。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2023-04-10
      • 2023-03-30
      • 2020-07-26
      • 2013-08-17
      • 2021-10-26
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多