Plugin Support
Bruce (a11n)
(@bruceallen)
Happiness Engineer
Hi @ameeyswain
I’ve asked our development for some help on how to accomplish this, when someone has a chance we’ll pass along an update.
Hi @ameeyswain,
Super Cache doesn’t have an option to ignore all GET parameters when caching content. However, there is an option to ignore specific GET parameters in the Advanced tab.
Head to “Advanced” > “Tracking parameters” in the Super Cache settings, and you will see a list of tracking GET parameters that Super Cache will ignore. If you have specific GET parameters you want to ignore, you can add them there.
That is generally the recommended method to ignore GET parameters.
If you are sure you want to ignore all GET parameters, you can force that by adding the following code snippet to your wp-config.php
file:
$wpsc_tracking_parameters = array_keys( $_GET );
$wpsc_ignore_tracking_parameters = 1;
Please note that this overrides the default behaviour of the “Tracking Parameters” feature to remove all parameters. This is not something we explicitly support, so we can’t guarantee this functionality won’t change in some future version of Super Cache.
Hi @thingalon,
Thanks for your response. It seems working for me.
Hi @ameeyswain,
Thanks for the follow-up! Glad you seems to be all sorted out 🙂
I’m going to mark this thread as solved. If you have any further questions or need more help, you’re welcome to open another thread here. Cheers!