# Change password email: query strings

**URL:** <https://community.auth0.com/t/change-password-email-query-strings/91795>\
**Category:** Get Help\
**Tags:** email, change-password\
**Created:** [October 4, 2022, 11:42pm UTC](https://community.auth0.com/t/change-password-email-query-strings/91795 "2022-10-04T23:42:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![akberiqbal](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/akberiqbal/32/35545_2.png) [@akberiqbal](https://community.auth0.com/u/akberiqbal)\
**Post date:** [October 4, 2022, 11:42pm UTC](https://community.auth0.com/t/change-password-email-query-strings/91795/1 "2022-10-04T23:42:16Z")

</div>

Need to add a query parameter to the url for change password link

- changing the template on: https://[URL]/dashboard/pi/[tenant]/templates
- adding a query string to the link via the code

```auto
{% assign newUrl = url | replace: '#', '&abcd=efgh#' %}
or
{% assign newUrl = url | append: '&abcd=efgh' %}

 <a id="reset_link" href="{{newUrl}}"> Reset email </a>

```

the link is correctly appended and showing correctly on:

- Gmail
- iOS-email-app
- mac-email-app
- mac-outlook-app  
etc.

the link misses the query string when I open the email on:

- MS Outlook on Windows

---

<div class="post-metadata">

**Author:** ![akberiqbal](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/akberiqbal/32/35545_2.png) [@akberiqbal](https://community.auth0.com/u/akberiqbal)\
**Post date:** [October 5, 2022, 12:22am UTC](https://community.auth0.com/t/change-password-email-query-strings/91795/2 "2022-10-05T00:22:11Z")

</div>

for outlook, had to use

```auto
<!--[if mso]>
<p>different URL</p>
<![endif]-->

```

for more info, [this](https://www.hteumeuleu.com/2020/outlook-rendering-engine/) can help

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [October 19, 2022, 12:22am UTC](https://community.auth0.com/t/change-password-email-query-strings/91795/3 "2022-10-19T00:22:38Z")

</div>

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