Dynamic URL to Stay the Same on all Pages
- by JCBiggar
so when my url looks like this:
http://mywebsitehere.com/?kw=1
I am using this code below to do stuff with it:
<?php if( isset($_GET['kw'] )){
//my div here
} ?>
It works great, and I am getting exactly what I want on the page. However, any link I click on that page will change the url structure and remove the ?kw=1 . Is there anyway to add the ?kw=1 to every link for that session? I have no clue how to do this? Any ideas or answers would be great! Thanks!
Let me know if I need to give more to my question.