Hey party people.
I am not quite sure whether this is a silly question but I haven't been able to find a suitable explanation or example for it, so I thought I'd ask in any case...
I would like to know whether it is possible to redirect all page requests to the index.php file but keep the query string so that it's accessible inside the index.php, if that makes sense!?
For example, if someone types into their browser's address bar or follows the link www.mysite.com/index.php?option=com_content&view=article&id=39&Itemid=169 (yes, it's a Joomla site), I would love to redirect that to the index.php where I need to mainly check for or set cookies and/or have users agree to terms and conditions etc., but after all of that is done, direct them to the actual article/page they were trying to access.
I hope what I am trying to achieve is clear enough. And possible, for that matter.
I'd appreciate any useful response.
Thanks a lot!