简体   繁体   English

单击wordpress网站的页面链接可下载其html代码

[英]Cliking on page link of a wordpress site downloads its html code

I have created a wordpress site but i could see that if any of its page link is clicked, instead of redirecting to that page its html source code gets downloaded. 我创建了一个wordpress网站,但是我可以看到,如果单击了它的任何页面链接,而不是将其html源代码下载到了该页面,而不是重定向到该页面。 here is the link of the site: http://royalascot.in/ 这是该网站的链接: http : //royalascot.in/

It's because you are setting the page content-type to 'application/x-gzip'. 这是因为您将页面内容类型设置为“ application / x-gzip”。

Try changing it to something like 'text/html'. 尝试将其更改为“ text / html”之类的内容。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM