laposa / onyx

Web content management system and built in eCommerce
https://laposa.ie
Other
14 stars 9 forks source link

Pass HTTP GET parameters when using short URLs #77

Closed norbertlaposa closed 2 months ago

norbertlaposa commented 3 months ago

Short URLs are https://{hostname}/{node_id}, for example https://centra.ie/995 translated to https://centra.ie/beat-the-queue

We need to add support for HTTP GET parameters, for example https://centra.ie/995?test=1 should translate to https://centra.ie/beat-the-queue?test=1

See https://github.com/laposa/onyx/blob/master/controllers/uri_mapping.php#L76