Reply to thread

Hmm ... with XF 2.2 there could be a way to solve this:

XF 2.2 does use a service worker, eg. JS that can intercept any request before it is being sent to the server.

The service worker does get the URL fragment (eg. #post-1234), the server does not receive this information.


So the idea would be for the service-worker to detect this URL fragment, upon receiving a response from the server check if the HTTP response code is 200 .

If it is and the post with that ID is not on the page, it could request /posts/1234 instead.


So basically this would give the URL fragment post ID precendence over thread id and page number.


Back
Top Bottom