我分别在 example.com 和 example.com/blog / 上有一个网站和WordPress博客。我通过API在我的网站上提供最新博客,其中包含帖子标题和帖子ID,我用它来构建网址 example.com/blog/?p=1234 。
每个浏览器都可以正常工作( example.com/blog/?p=1234 重定向到 example.com/blog/actual-url-of-post ),除了safari in iOS上的iOS和mac以及Chrome,错误414与url example.com/blog/actual-url-of-post/,%20example.com/blog/actual-url-of-post/,%20example.com/ blog / actual-url-of-post /,%20example.com/blog/actual-url-of-post [非常长的字符串reapeating,%20example.com / blog / actual-url-of-post / < / strong>] [] 1
由于服务器配置不允许长网址,我看到有人收到错误 414 Request-URI Too Large 。但在我的情况下,它只发生在一些特定的broswer。任何指导都会有所帮助。感谢
答案 0 :(得分:0)