Web - Link to an anchor on another page

This is how to link to an anchor on another page in Drupal.

In this case you are unable to use an internal link when linking to an anchor. You are going to have to edit the URL when you link to the anchor.

  1. First make an anchor on the text you want to link to, don’t use spaces or special character and keep it simple this will make life easier later.

    Ancore box
    Ex: “AnchorTagName”
  2. Next navigate to the new page with the text you would like to link to that anchor tag.  
  3. Link the desired text by highlighting the text, then click the link button in the body editor tools in attached to the wizy wig.
    Link Button
    • This will bring up the link options box. 
      link options box
  4. Under 'Link Type' in the link options box, select 'URL'
  5. Then use the full URL of the page that the anchor you want to link to, is on.
    • With out using any spaces put a hash tag (#) after the URL and then the name of the Anchor. The Anchor link is case sensitive so the name has to be exactly the same.
    • Ex: campus.uwplatt.edu/sectionTitle#AnchorTagName
  6. Click OK
  7. Save the page

If you have questions, please contact the Web Development office at 608.342.1444 or web@uwplatt.edu.  

Keywords:Drupal, linking, anchors, linking anchors,   Doc ID:34800
Owner:Bryan M.Group:UW Platteville
Created:2013-10-25 13:49 CSTUpdated:2019-02-13 13:56 CST
Sites:UW Platteville
Feedback:  0   1