简体   繁体   中英

Redirect URL's with example.com/blog?p=1234 to wordpress default URL (example.com/blog/actual-url-of-post) doesn't work in Safari

I have a website and WordPress blog on example.com and example.com/blog/ respectively. I serve the latest blog to my website through an API in which contains post title and post ID, with which I form URL example.com/blog/?p=1234 . Everything works fine on every browser ( example.com/blog/?p=1234 redirects to example.com/blog/actual-url-of-post ) except safari in iOS and mac, and chrome on iOS, with error 414 with 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[ very long string reapeating ,%20example.com/blog/actual-url-of-post/ ] [ 在此处输入图片说明 ] 1

I have seen people getting error 414 Request-URI Too Large because of the server configuration which doesn't allow long URL. But in my case, it is happening only in some specific broswer. Any guidance will be helpful. Thanks

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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