Issue handling query params in redirects/rewrites

I am hosting a dashboard that I have created on render as a static site and I have been having issues with render when trying to handle password reset.

Whenever a user clicks a URL link from their email they are automatically redirected to index.html and the query string is lost.

I was looking through the following doc to see how I can avoid redirecting/rewritting when there are query strings but I don’t see anything in the documentation about it.

If this feature isn’t currently available on render I will need to host our dashboard somewhere else.

Any help would be greatly appreciated!

I’m happy to help! If your static site is using client-side routing (i.e. rewriting everything to /index.html) then query strings will be preserved. It would be helpful to see an example of one of these URLs and to understand the mechanism that’s currently redirecting site visitors in an undesirable way. Feel free to DM me if you don’t want to share this information publicly.

Hi David,

Thank you for your reply

How do I direct message you on this service?

This was handled in slack, but for future reference I believe you can click on my name and then click “Message”, unless that option is only available to admins.

1 Like