# HX-Push-Url

The `HX-Push-Url` response header pushes a new URL into the browser location history. This creates a new history entry, allowing navigation with the browser's back and forward buttons.

If present, this header overrides any behavior defined with attributes.

## Possible Values

- A URL to be pushed into the location bar. May be relative or absolute, as per [`history.pushState()`](https://developer.mozilla.org/en-US/docs/Web/API/History/pushState).
- `false` — prevents the browser's history from being updated.

## Example

```http
HX-Push-Url: /dashboard
```

## Notes

- Response headers are not processed on 3xx response codes.

See also: [`hx-push-url`](https://four.htmx.org/reference/attributes/hx-push-url), [`HX-Replace-Url`](https://four.htmx.org/reference/headers/HX-Replace-Url)