# button not directing to the link

**URL:** <https://community.hubspot.com/t/button-not-directing-to-the-link/87683>\
**Category:** CMS Development\
**Tags:** starter\
**Created:** [August 17, 2023, 3:24am UTC](https://community.hubspot.com/t/button-not-directing-to-the-link/87683 "2023-08-17T03:24:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AbcYouth](https://avatars.discourse-cdn.com/v4/letter/a/779978/32.png) [@AbcYouth](https://community.hubspot.com/u/AbcYouth)\
**Post date:** [August 17, 2023, 3:24am UTC](https://community.hubspot.com/t/button-not-directing-to-the-link/87683/1 "2023-08-17T03:24:35Z")

</div>

Hello, I am using the hero slider on my home page, and there is a button for external link, I chose external link, and entered the URL, saved and published. But on the webpage if you click the botton, it always redirected to the homepage, not the external link.

What should I do?

 ![Inked屏幕截图 2023-08-16 211704_LI.jpg](https://d2qpr2jzcazej7.cloudfront.net/original/2X/d/dfc830f0008a3c684c0534a50ee46deb1a9c2d6f.jpeg)

---

<div class="post-metadata">

**Author:** ![RJChauhan](https://avatars.discourse-cdn.com/v4/letter/r/ebca7d/32.png) [@RJChauhan](https://community.hubspot.com/u/RJChauhan)\
**Post date:** [August 17, 2023, 8:16am UTC](https://community.hubspot.com/t/button-not-directing-to-the-link/87683/2 "2023-08-17T08:16:30Z")

</div>

please share you code or screenshot of code so I can check how you are using the Link
