Rewrite URL to include globals keywords in URL

(Nic Hubbard) #1

Matrix Version:

I have a specific URL that I need to rewrite the URL to include globals date keywords. For example, I would like:

So that if you if you accessed it would always rewrite to include the current date in the GET params. E.g.

Is there any way of doing this? I tried the Remap Manager without success, and wondering if I need to use Apache.

(Nic Hubbard) #2

I ended up solving this without a redirect. I set a session var using the current date as default, but if there was a GET I overwrite this:

Works perfectly!