Is there any way to have an intra-post permalink with only a URL hash?
In other words, if I want to link to reply #3, can I do that? The regular permalink is a full URL, and if I add that, then it requires a page reload. Since it’s the same page, is there any way to link to a reply with only a URL hash?
Sort of, but I just want to make it into a link that ends up as a URL fragment (intra-page link). See my “example of full URL link” in the original post.
odd, we have a Discourse server at our company and if I use full URL links, it does cause a page reload. If a page with URL A links to a page with URL B, how can it avoid a page reload? It seems to work correctly on this page (I still don’t understand how), but maybe that’s just a really fast operation that appears seamless to me.
Please no citations of “magic”; if you know how it works, please let me know. I’m inspecting the link and I see no onclick handler, if something is going on, it is very subtle and I don’t understand.
I did try again, it is still doing a page reload, which again, is the behavior I would expect. Both our company’s Discourse instance and this Discourse instance appear to be using 1.8.0.beta4, although different git hashes:
this page: <meta name="generator" content="Discourse 1.8.0.beta4 - https://github.com/discourse/discourse version ba115480ba782587f07cb9d08ac7a77927910a71">
our server: <meta name="generator" content="Discourse 1.8.0.beta4 - https://github.com/discourse/discourse version c36dda70aeb6e97efaf7ad0cb932df18f0281722">
The only difference I can see is that our server is http:// (inside company firewall + noncritical server, so it’s much less of a concern) rather than https:// – could this be the difference?
The scheme should have no impact unless you have your instance misconfigured (ie. have it think it should use https but there still are links using http).