0
我有一个很奇怪的问题。wordpress页面返回404
的博客有一个固定链接结构/%category%/%title%/
。一切工作正常的帖子,但通过直接输入网址访问页面时,我得到了404。检查Google网站管理员工具时,我注意到这一点。点击网站中的链接时,网页可以正常打开。
我要提到的最后一件事是,标题中包含一些非拉丁字符,但他们得到适当的编码。
不WordPress的检查referrer
头,并基于其价值一些决策?
看火狐直接访问帕德时和返回404和内部链路点击时发送头:
Host localhost:8088
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1
Accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language en-us,en;q=0.5
Accept-Encoding gzip, deflate
Accept-Charset ISO-8859-1,utf-8;q=0.7,*;q=0.7
Connection keep-alive
Host localhost:8088
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1
Accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language en-us,en;q=0.5
Accept-Encoding gzip, deflate
Accept-Charset ISO-8859-1,utf-8;q=0.7,*;q=0.7
Connection keep-alive
Referer http://localhost:8088/dani/
唯一的区别是referer
报头。很奇怪。
我不知道,如果是这样的话,但如果你不选择你的职位类别类似的事情可能发生..你确定你检查的类别中的至少一个(您想使用一个在你的网址)? – mishu
它发生在页面,帖子工作正常。强烈建议不要 –
'用%类别%开始永久链接性能reasons.'多数民众赞成WordPress的说,http://codex.wordpress.org/Using_Permalinks更多信息检查之下%类别% – Val