# baseURI does not update without reload

**URL:** <https://talk.observablehq.com/t/baseuri-does-not-update-without-reload/11003>\
**Category:** Feedback\
**Created:** [November 21, 2026, 10:32pm UTC](https://talk.observablehq.com/t/baseuri-does-not-update-without-reload/11003 "2026-11-21T22:32:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mootari](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/mootari/32/581_2.png) [@mootari](https://talk.observablehq.com/u/mootari)\
**Post date:** [November 21, 2026, 10:32pm UTC](https://talk.observablehq.com/t/baseuri-does-not-update-without-reload/11003/1 "2026-11-21T22:32:35Z")

</div>

When a notebook’s URL changes, the iframe’s `document.baseURI` keeps the initial URL which can lead to temporarily broken links:

1. after saving a new notebook (`baseURI` is still `.../-/new/...`)
2. after clearing a slug (`baseURI` is still the now invalid slug)

This has probably very little consequence in practice, just flagging it in case it’s easy to fix.

---

<div class="post-metadata">

**Author:** ![mbostock](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/mbostock/32/9_2.png) [@mbostock](https://talk.observablehq.com/u/mbostock)\
**Post date:** [November 22, 2026, 2:13am UTC](https://talk.observablehq.com/t/baseuri-does-not-update-without-reload/11003/2 "2026-11-22T02:13:33Z")

</div>

Okay, fixed. Thanks again.
