Fix hyperlink scrolling on current page
- Applies to:
- All versions
- Role required:
- Draft Contributor
Resolve unexpected scrolling for links pointing to content that is also being reused on the same page.
If you click a link and the page you are on scrolls instead of going to the linked page, this is because the link points to a page that is also used as Content Reuse on the same page.
The link is supposed to hyperlink to the content, but instead converts to an anchor link and scrolls because the content is already on the page via Content Reuse.
To resolve this:
- Open the page in Edit Mode.
- Select the </>HTML button or View > Source from the Editor Toolbar.
- Find the html link and add the attribute rel="custom".
- Save.
Example:
Before without rel="custom":
<a href="/page/url/example" title="Example">Hyperlink Text</a>
After with rel="custom":
<a href="/page/url/example" rel="custom" title="Example">Hyperlink Text</a>
