# @aurelia/router update query params on same page

**URL:** <https://discourse.aurelia.io/t/aurelia-router-update-query-params-on-same-page/5307>\
**Category:** Uncategorized\
**Created:** [November 22, 2023, 4:43pm UTC](https://discourse.aurelia.io/t/aurelia-router-update-query-params-on-same-page/5307 "2023-11-22T16:43:38Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![ivan](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/ivan/32/2022_2.png) [@ivan](https://discourse.aurelia.io/u/ivan)\
**Post date:** [November 23, 2023, 7:12am UTC](https://discourse.aurelia.io/t/aurelia-router-update-query-params-on-same-page/5307/2 "2023-11-23T07:12:34Z")

</div>

I had a similar question 🙂:

> [@Change URL parameters without involving lifecycles in Core Router](https://discourse.aurelia.io/t/change-url-parameters-without-involving-lifecycles-in-core-router/5155):
>
> I have a search page where a couple of filters can be added. Each time a filter is added I would like to add this to the url, to make it shareable. E.g. A user visits the page. url is my-url.com#search. The user clicks on a filter to active it. The url should be updated to my-url.com#search?filter-1=123 Now using something like this: import { IRouter } from '@aurelia/router' ... this.router.load('search', { parameters: { filter-1: '123' } }) The url can be changed. However, the pa…

Unfortunately, still do not know how to do this.

---

_[View the full topic](https://discourse.aurelia.io/t/aurelia-router-update-query-params-on-same-page/5307)._
