Use (conditional) Query Parameters as a link on single page

When someone searches a query and finally clicks a result, is it somehow possible to use that (former) query url as a link on that single page? like: “back to selection” link that only pops up if there IS a former query (search or filtered query) done. If there isn’t

What I want to achieve is having a ‘back’ (history.back():wink: when there is no query parameter available.

Thanks in advanced!

1 Like

I was told this might be possible with Session variables. Anyone with proper PHP knowledge who can work with this?

1 Like