Strange named anchor behavior - only working with the hash mark after a trailing slash
Posted
by
tnorthcutt
on Pro Webmasters
See other posts from Pro Webmasters
or by tnorthcutt
Published on 2011-02-01T16:39:23Z
Indexed on
2011/02/01
23:35 UTC
Read the original article
Hit count: 424
links
|named-anchor
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 WPML translation plugin. I'm not sure if that's causing the problem, though (otherwise I'd ask on the WordPress Answers SE site).
Any suggestions as to what could be causing this strange behavior?
© Pro Webmasters or respective owner