# روابط رأس الصفحة المخصصة: الروابط تعيد تحميل Discourse

**URL:** <https://meta.discourse.org/t/custom-header-links-links-reload-discourse/113907>\
**Category:** Product Support\
**Created:** [9 أبريل 2019، 9:28م UTC](https://meta.discourse.org/t/custom-header-links-links-reload-discourse/113907 "2019-04-09T21:28:41Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![jack2](https://avatars.discourse-cdn.com/v4/letter/j/ac91a4/32.png) [@jack2](https://meta.discourse.org/u/jack2)\
**Post date:** [9 أبريل 2019، 9:28م UTC](https://meta.discourse.org/t/custom-header-links-links-reload-discourse/113907/1 "2019-04-09T21:28:41Z")

</div>

I’m using the Custom Header Links component and I’m getting this strange behavior:

- In my prod instance, clicking a header link reloads Discourse entirely to the target page.
- In my dev instance (without docker), clicking a header link transitions smoothly to the target page without reloading Discourse.

I noticed that:

- In my prod instance, `<a>` tags have a `data-auto-route="true"` attribute.
- In my dev instance, `<a>` tags don’t have this attribute.

It seems the same kind of problem happened in the past (see [here](https://meta.discourse.org/t/reload-page-body-when-clicking-a-link-in-a-custom-header/90543)), before the official header components were released.

---

_[View the full topic](https://meta.discourse.org/t/custom-header-links-links-reload-discourse/113907)._
