Redirects don't change the URL
if a page a link opens redirects to other page, it doesn't show the final url in the url bar ...is there a way to fix that?
There’s currently no way to fix that, sorry.
It’s a limitation of Ajax, it can’t give you the correct URL after a redirect. The solution I have in mind for this problem would be to send a header server-side with the page’s URL. InstantClick would then use that URL.
I'm interested in this. Is the server-side header thing implemented?
It still isn’t.
Maybe it’ll be done with a meta tag or something instead of a header, as it’s easier to deal with, and there may be cases where someone doesn’t have control over their header (though I can’t think of one where you have a redirect too, but the fact that it’s easier is reason enough to go that way).
Same question. I think a server header is OK.
I'm not sure if anything has changed about the XHR api since 2015, but I'm using Chromium on Linux. I fixed the issue by going to line 748, where changePage is being called. I changed $url to $xhr.responseURL. It works perfectly with my server.
I'll submit a pull request if I can confirm it works with all other browsers.
This is 2014 issue, 5 years and this bug is still here...?