-
Suggestion
-
Resolution: Unresolved
-
None
-
1
-
NOTE: This suggestion is for Confluence Server. Using Confluence Cloud? See the corresponding suggestion.
Hi,
I want to create links to a header and to anchors inside a page without depending on the title...
I want:
http://my-confluence/x/TAJn#mya
or
http://my-confluence/x/TAJn#TAJn-mya
But not:
http://my-confluence/display/Play/Anchor+test#Anchortest-mya
http://my-confluence/x/TAJn#Anchortest-mya
("Anchor test" is the title of the Page, so if I change the title the link is broken...)
As workaround I'm using
Html inside the page with:
<a name="mya"></a>My nice anchor
It would be nice if this could added to the anchor macro.
- is related to
-
CONFSERVER-24315 Improved linking to anchors in another page
- Closed
- relates to
-
CONFCLOUD-24452 Remove page title from heading/anchor IDs to support external linking
- Gathering Interest
Exactly whjat Oliver Keim said.. ie W3C standards are there for a reason (so the web actually WORKS). Strangely enough a Confluence siter is not some "not like the web" thing - its a wiki of all things - of course links to items WITHIN a page (ie anchors) need to work... Maybe theres a way to make it WORK withoiut doing what W3C recommends but saying theres a lack of demand for WORKing links/anchors is clearly contradicted by the number of times people on the WWW click links to ANCHORS - I'm sure stats from Atlassan sites alone would prove there is quite the opposite of "limited demand" for this feature.