---
name: "up.history.url"
area: "API"
kind: "JavaScript function"
parent: "up.history module"
visibility: "deprecated"
url: "https://unpoly.com/api/up.history.url"
---
<nav aria-label="Unpoly docs">[All docs](https://unpoly.com/index.md) · [up.history module](https://unpoly.com/api/up.history.md)</nav>

# up.history.url()

**This feature has been deprecated**. Use the [`up.history.location`](https://unpoly.com/api/up.history.location.md) property instead.

Load [`unpoly-migrate.js`](https://unpoly.com/changes/upgrading.md) to polyfill deprecated features.

Returns a normalized URL for the current history entry.

---

## Return value {#return-value}

Type: string

