Strange named anchor behavior - only working with the hash mark after a trailing slash
- by tnorthcutt
I have an odd problem. Links to named anchors on a site I'm working on are only working correctly if the pound/hash sign is placed after a trailing slash (e.g. example.com/about/#who), rather than directly after a page name (e.g. example.com/about#who).
What could be causing this? I should note that this is on a site running WordPress, with the…