Quantcast
Channel: WordPress.org Forums » [W3 Total Cache] Support
Viewing all articles
Browse latest Browse all 19294

Kristian on "[Plugin: W3 Total Cache] How to remove " ?repeat=w3tc " from query string"

$
0
0

I think, I have fixed the issue with the following piece of code in my theme setup function:

if(strpos($_SERVER['QUERY_STRING'],'repeat=w3tc')!==false){
 $uri = explode('?',$_SERVER['REQUEST_URI']);
 wp_redirect(home_url($uri[0]), 301);
 exit;
}

Viewing all articles
Browse latest Browse all 19294

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>