I'm using pagination and also advantage search options in a page.
Search is working great. For example, when I use the search, url is like this:
http://example.com/category/contents?**title=test&year=2015&author=test**
It's okay. But when I use the pagination links, all search parameters are gone..
http://example.com/category/contents?**page=3**
How can I solve this?
I want to do this:
http://example.com/category/contents?title=test&year=2015&author=test&**page=3**
EDIT: Okay, I'm using like that now:
$parameters = "";
if(isset($_GET["x_param"])){
$parameters .= "¶metername=".$_GET["x_param"]
}
And I'm adding the $parameters variable to the end of pagination links.
?page=xx".$parameters