I'm building a website to sell products. In the overview I use jplist to filter the products. I have deeplink enabled so it's possible to share the urls with filters, etc...
If I leave the hashStart symbol to the default # and navigate to the detail of a product (actual reload) my php variable $_SERVER['HTTP_REFERER'] does not contain the filtering parameters from the url.
If i change the hashStart symbol to ? the $_SERVER['HTTP_REFERER'] contains the correct parameters. However if I load that url the plugin does not recognise the params and resets them.
So:
Let's say I clicked the second page then my url is the following:
I'm building a website to sell products. In the overview I use jplist to filter the products. I have deeplink enabled so it's possible to share the urls with filters, etc...
If I leave the hashStart symbol to the default
#
and navigate to the detail of a product (actual reload) my php variable$_SERVER['HTTP_REFERER']
does not contain the filtering parameters from the url.If i change the hashStart symbol to
?
the$_SERVER['HTTP_REFERER']
contains the correct parameters. However if I load that url the plugin does not recognise the params and resets them.So:
Let's say I clicked the second page then my url is the following:
If i navigate to a detail my
$_SERVER['HTTP_REFERER']
is:If i change the hashStart and redo the previous i get: actual domain:
referer:
which is good! But if i open
The plugin forgets the parameters and changes the url to
So i lose all my states (selected filters, selected page, ... )
How can I solve my problem?