# Anchor links on buttons are working in editor preview but not on published live site

**URL:** <https://forum.wixstudio.com/t/anchor-links-on-buttons-are-working-in-editor-preview-but-not-on-published-live-site/67851>\
**Category:** Ask the community\
**Tags:** question, wix-studio\
**Created:** [January 23, 2025, 7:03am UTC](https://forum.wixstudio.com/t/anchor-links-on-buttons-are-working-in-editor-preview-but-not-on-published-live-site/67851 "2025-01-23T07:03:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![joshesousa](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/joshesousa/32/29563_2.png) [@joshesousa](https://forum.wixstudio.com/u/joshesousa)\
**Post date:** [January 23, 2025, 7:03am UTC](https://forum.wixstudio.com/t/anchor-links-on-buttons-are-working-in-editor-preview-but-not-on-published-live-site/67851/1 "2025-01-23T07:03:48Z")

</div>

\*_Question:_  
Why are the anchors linked via buttons functional on the editor preview but not on my live published site?

**Product:**  
Wix Studio

**What are you trying to achieve:**  
I would like my buttons to link to different anchors on the same page that they exist enabling easier navigation through the page.

**What have you already tried:**  
I’ve linked each button to the corresponding anchor on the page. I’ve tested it using the site editor and it works. When I publish the site and test the same functionality on the live site the page reloads every time a button is clicked instead of navigating to the linked anchor.

**Additional information:**  
I have published the site multiple times - It seems to be a glitch on the live site but I’m not sure.

---

<div class="post-metadata">

**Author:** ![Ryan\_McNamara](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/ryan_mcnamara/32/107385_2.png) [@Ryan\_McNamara](https://forum.wixstudio.com/u/Ryan_McNamara)\
**Post date:** [September 19, 2025, 4:06pm UTC](https://forum.wixstudio.com/t/anchor-links-on-buttons-are-working-in-editor-preview-but-not-on-published-live-site/67851/2 "2025-09-19T16:06:41Z")

</div>

I’m having this exact same issue. Was there any solution?
