@kibebr OK, so you’re not actually redirecting to another page? I think you’re going to have to stick with your JavaScript solution because redirects seem not to be designed for this task.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| I have to type "/index.html" in the url for the website to work but once I visit a new link it stops working | 6 | 881 | December 19, 2024 | |
| Redirect url with one param to another url with a different param | 6 | 4593 | November 11, 2021 | |
| How to redirect homepage when url has parameter | 7 | 644 | November 13, 2021 | |
| Strange behaviour when redirecting using `Location` when site is live | 5 | 448 | December 2, 2023 | |
| Redirect doesn't remove query params | 9 | 2919 | September 1, 2021 |