# Hide size parameter from URL

**URL:** <https://discuss.elastic.co/t/hide-size-parameter-from-url/328397>\
**Category:** Elasticsearch\
**Created:** [March 23, 2023, 8:59pm UTC](https://discuss.elastic.co/t/hide-size-parameter-from-url/328397 "2023-03-23T20:59:26Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ach](https://avatars.discourse-cdn.com/v4/letter/a/858c86/32.png) [@ach](https://discuss.elastic.co/u/ach)\
**Post date:** [March 23, 2023, 8:59pm UTC](https://discuss.elastic.co/t/hide-size-parameter-from-url/328397/1 "2023-03-23T20:59:26Z")

</div>

Hi all, I want to hide the size parameter from the search query URL, e.g., [site.com/?q=phone&size=n\_10\_n](http://site.com/?q=phone&size=n_10_n) and I want to hide ' **&size=n\_10\_n**.'

Is configuring the [routing options](https://docs.elastic.co/search-ui/api/core/configuration#routing-options) the way to go?

I would greatly appreciate if someone could help simplify and/or point me in the right direction.  
Thank you and apologies if I missed the answer!

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [March 23, 2023, 9:14pm UTC](https://discuss.elastic.co/t/hide-size-parameter-from-url/328397/2 "2023-03-23T21:14:48Z")

</div>

Routing options have nothing to do with size. Why are you trying to hide it? What is the issue?

---

<div class="post-metadata">

**Author:** ![ach](https://avatars.discourse-cdn.com/v4/letter/a/858c86/32.png) [@ach](https://discuss.elastic.co/u/ach)\
**Post date:** [March 23, 2023, 10:12pm UTC](https://discuss.elastic.co/t/hide-size-parameter-from-url/328397/3 "2023-03-23T22:12:12Z")

</div>

I'm not trying to do anything with the size, just the URL. We're just looking to clean up the URL and noticed it seems possible to do so from this [Elastic guide](https://www.elastic.co/pdf/building-great-search-experiences-elasticon-2020).

Please don't respond to this thread unless you know how to modify the URL and are responding with actionable guidance on how to make this happen.  
 ![Screenshot_20230323_150829.png](https://us1.discourse-cdn.com/elastic/original/3X/6/8/68e33a400e5bf60604557ffee2c2021312fce600.png)

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [March 24, 2023, 6:18am UTC](https://discuss.elastic.co/t/hide-size-parameter-from-url/328397/4 "2023-03-24T06:18:14Z")

</div>

I was just trying to get some clarification before answering. Will make sure to not bother you again.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [April 21, 2023, 6:18am UTC](https://discuss.elastic.co/t/hide-size-parameter-from-url/328397/5 "2023-04-21T06:18:15Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
