# Navigating to local URL fragment doesn't modify browser history

**URL:** https://meta.discourse.org/t/navigating-to-local-url-fragment-doesnt-modify-browser-history/155624
**Category:** Support
**Created:** [June 22, 2020, 9:35pm UTC](https://meta.discourse.org/t/navigating-to-local-url-fragment-doesnt-modify-browser-history/155624 "2020-06-22T21:35:49Z")
**Posts on this page:** 1
**Showing post:** 10

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [June 24, 2020, 12:24am UTC](https://meta.discourse.org/t/navigating-to-local-url-fragment-doesnt-modify-browser-history/155624/10 "2020-06-24T00:24:12Z")

</div>

careful with pushstate there… what you probably want is replacestate.

---

_[View the full topic](https://meta.discourse.org/t/navigating-to-local-url-fragment-doesnt-modify-browser-history/155624)._
