Skip to main content

New answers tagged

0 votes
Accepted

How to make Wordpress ignore GET parameters when caching pages?

For WP Super Cache, it's not well documented, but there appear to be two ways to accomplish this. Ignore ALL $_GET parameters: Under Wp Super Cache Settings > Advanced, there is a checkbox labeled ...
justin maurer dot dev's user avatar
0 votes

How to make Wordpress ignore GET parameters when caching pages?

Use this- function wpse425571_ignore_get_parameters() { if ( is_admin() ) { return; } // Only apply on frontend if ( isset( $_SERVER['REQUEST_URI'] ) ) { $uri = strtok(...
mukto90's user avatar
  • 1,454

Top 50 recent answers are included