Jump to content

Hide/Mask Anchor Link URL in Address Bar

Go to solution Solved by tuanphan,

Recommended Posts

Site URL: https://www.theenrichededucator.com/our-services

Hi, I'm wondering if it is possible to hide/mask the anchor links url in the address bar ? I have a few anchor links throughout my site and when a visitor clicks on the anchor link to scroll to another page in the index, the url in the address bar changes to the anchor link's url. I'd like the address bar url to remain the same. For example, as seen in the screenshots below, on my services page, a visitor can click the "Coaching & Development" anchor link to scroll to that section. Once clicked, I'd like the url in the address bar to still say "https://www.theenrichededucator.com/our-services" and not "https://www.theenrichededucator.com/our-services#coaching-home"

Picture 1. Hovering over the anchor link




Picture 2. After clicking the anchor link




Edited by EnrichedEducator
Link to comment
  • Replies 1
  • Views 591
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

Create an account or sign in to comment

You need to be a member in order to leave a comment

  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.