Rewrite url with static and query params

Am I able to change one of the rules for the rewrite to create a query params
When I try it, It seems like the page only redirects to /index.html

Note: I’m using a static app with react js.

Like this?

I’m trying to fix an issue where I send an link to the static app and it get redirect to index.html

for example:
Get redirected to https://mydomaine/index.html

But if I don’t add the redirect /* to index.html , this link will return “not found”

I would expect that to work, based on your rules, using curl I see:

$ curl -I 301date: Tue, 14 Jun 2022 13:52:19 GMTcontent-type: text/html; charset=utf-8location: /index.html?value=1


curl -I 301date: Tue, 14 Jun 2022 13:52:45 GMTcontent-type: text/html; charset=utf-8location: /index.html

are you experiencing different results - or did I misunderstand the question here?

John B

Thank you for your answer,

So I do receive the correct information when I’m using curl.
I did not try with another web browser
But it seems to work fine with google chrome but not with firefox

Note: the rule works fine actually.

Thank you.

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