-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Redirect strips query params #2967
Comments
My team is having this same issue. The workaround detailed here doesn't seem to work for us: I've added a redirect for |
Hi @DevPowers and @davidaugustus-focusmate 👋🏽 apologies for the delay. According to the Amplify documentation, dropping the query params is intended behavior:
Please read more about implementing query params here: https://docs.aws.amazon.com/amplify/latest/userguide/redirects.html#query-parameters |
Closing as a duplicate of #97 |
|
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Before opening, please confirm:
App Id
d1op66f9k171p6
Region
us-east-1
Amplify Hosting feature
Redirects
Describe the bug
'example.com?query1=query1' domain is redirected -> 'www.example.com' stripping the query params
Expected behavior
When navigating to my website via the URL:
'example.com?query1=query1' domain is redirected -> 'www.example.com?query1=query1'
The expected behavior works for my subdomains but not the main domain.
'subdomain.example.com?query1=query1' domain is redirected -> 'www.subdomain.example.com?query1=query1'
Reproduction steps
Build Settings
Additional information
No response
The text was updated successfully, but these errors were encountered: