Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-24452

Remove page title from heading/anchor IDs to support external linking

    • 1
    • We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      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.

            [CONFSERVER-24452] Remove page title from heading/anchor IDs to support external linking

            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.

            Darryl Green added a comment - 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.

            We would appreciate the web content generated by Confluence finally meets the W3C's defined web standards for linking to sections using anchor methods. 

            https://www.w3.org/TR/html4/struct/links.html#h-12.2.3

             

            Oliver Keim added a comment - We would appreciate the web content generated by Confluence finally meets the W3C's defined web standards for linking to sections using anchor methods.  https://www.w3.org/TR/html4/struct/links.html#h-12.2.3  

            Our Company uses the industry standards in our products and solutions - So we can continue speaking in the same language of our customers and users. I believe that Atlassian acts the same way - Unfortunately in this situation this is not the case - And the company wide implication are significant for us, as our Corporate Wiki is widely used and the business dependencies of a single source of truth is critical.

            Please promote this ticket and please offer some workarounds for the meantime - Via alternative methods or code changes to address the already exists anchors.

            Aryhe Segal added a comment - Our Company uses the industry standards in our products and solutions - So we can continue speaking in the same language of our customers and users. I believe that Atlassian acts the same way - Unfortunately in this situation this is not the case - And the company wide implication are significant for us, as our Corporate Wiki is widely used and the business dependencies of a single source of truth is critical. Please promote this ticket and please offer some workarounds for the meantime - Via alternative methods or code changes to address the already exists anchors.

            +1 for me as well. It would really help our company internally. We have multiple internal tools, where we often link to important parts of our confluence pages to clarify things. When we now change a heading of a page, we often have to come back to other pages in other tools our in our source code to change those links again and again.

             

            Making the header inside the anchor link optional would fix this problem

            OliverGrack added a comment - +1 for me as well. It would really help our company internally. We have multiple internal tools, where we often link to important parts of our confluence pages to clarify things. When we now change a heading of a page, we often have to come back to other pages in other tools our in our source code to change those links again and again.   Making the header inside the anchor link optional would fix this problem

            Thank you for raising this suggestion.
            We regret to inform you that due to limited demand, we have no plans to implement it in the foreseeable future. In order to set expectations, we're closing this request now. Sometimes potentially valuable tickets do get closed where the Summary or Description has not caught the attention of the community. If you feel that this suggestion is valuable, consider describing in more detail or outlining how this request will help you achieve your goals. We may then be able to provide better guidance.
            For more context, check out our Community blog on our updated workflow for Suggestions
            Cheers,

            Confluence Product Management

            Adam Barnes (Inactive) added a comment - Thank you for raising this suggestion. We regret to inform you that due to limited demand, we have no plans to implement it in the foreseeable future. In order to set expectations, we're closing this request now. Sometimes potentially valuable tickets do get closed where the Summary or Description has not caught the attention of the community. If you feel that this suggestion is valuable, consider describing in more detail or outlining how this request will help you achieve your goals. We may then be able to provide better guidance. For more context, check out our Community blog on our updated workflow for Suggestions Cheers, Confluence Product Management

            +1 for this

            Philip Steinebrunner added a comment - +1 for this

            Yes, I am also looking for the same feature. We have web based product and we provide contextual help which redirects our users to our documentation. It will be really great if you include this feature.

            Thanks,
            Manasi

            Manasi Erande added a comment - Yes, I am also looking for the same feature. We have web based product and we provide contextual help which redirects our users to our documentation. It will be really great if you include this feature. Thanks, Manasi

            Nearly correct.

            I want to create an anchor link from outside confluence to an anchor inside a confluence page.

            But if I do so, I cannot change the title anymore without breaking the link.

            So it would be nice to have a "shortlink" like http://my-confluence/x/TAJn with the option to append the anchorname:
            http://my-confluence/x/TAJn#mya

            Deleted Account (Inactive) added a comment - Nearly correct. I want to create an anchor link from outside confluence to an anchor inside a confluence page. But if I do so, I cannot change the title anymore without breaking the link. So it would be nice to have a "shortlink" like http://my-confluence/x/TAJn with the option to append the anchorname: http://my-confluence/x/TAJn#mya

            Hi Kris,

            Sorry I don't think I understand your question completely.

            If you create an Anchor link inside of Confluence including the page title, and then change that page title, the Anchor link will be automatically updated the same way a 'normal' (without anchor) link to another page would be updated.

            So I guess you mean something else and I've missed it?

            Thanks,
            John

            John Masson added a comment - Hi Kris, Sorry I don't think I understand your question completely. If you create an Anchor link inside of Confluence including the page title, and then change that page title, the Anchor link will be automatically updated the same way a 'normal' (without anchor) link to another page would be updated. So I guess you mean something else and I've missed it? Thanks, John

              Unassigned Unassigned
              878124b3-9e9b-4713-9a68-c4bea8c0edc3 Deleted Account (Inactive)
              Votes:
              25 Vote for this issue
              Watchers:
              18 Start watching this issue

                Created:
                Updated: