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: www3.uwplatt.edu/sectionTitle#AnchorTagName
      link box with link example
  6. Click OK
  7. Save the page and test it out

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:2017-12-04 09:05 CST
Sites:UW Platteville
Feedback:  0   1