I don’t think this will work at all. The anchor (the string after #) is interpreted by the browser and used to scroll to the correct position in the document. So it doesn’t make any sense to have an pretty URL without an anchor and forward it to a resource with an anchor.
Yes, if you need to add an anchor to outbound URL links, then it probably makes most sense to add the anchor directly in the link itself. The <pretty:link> component has an “anchor” attribute for this purpose, and I believe other components have similar features (or should have.)
Viewing 5 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic.
Comments are closed.
Get updates from OCPSoft
If you find our tools useful, please consider making a donation to help us stay online and building software!