Persist URL parameters during language switch #1204
Answered
by
Mister-Hope
digital-codes
asked this question in
Q&A
-
Hello. I use URL parameters to select dynamic content to be loaded into a static page, for example issues of a newsletter or blog. Well, this might be beyond the scope of a static website builder, but it's a nice feature. My solution (at https://github.com/digital-codes/vp2, demo e.g. https://vp2.akugel.de/news.html?id=1 ) works in principle. However, when I switch language I loose the URL parameters and bounce at the empty static page. Would it be possible to preserve the URL parms across language switching e.g. with a route-guard? I assume lang switch is part of the default-theme .... |
Beta Was this translation helpful? Give feedback.
Answered by
Mister-Hope
Dec 27, 2022
Replies: 1 comment 1 reply
Answer selected by
Mister-Hope
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
#1211