| Server IP : 118.139.160.155 / Your IP : 216.73.217.153 Web Server : Apache System : Linux sg2plmcpnl504228.prod.sin2.secureserver.net 4.18.0-553.124.4.lve.el8.x86_64 #1 SMP Fri May 15 13:02:13 UTC 2026 x86_64 User : twll3xqyaqrh ( 9725459) PHP Version : 5.6.40 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/twll3xqyaqrh/public_html/Site WP/wp-content/plugins/wp-rocket/inc/3rd-party/hosting/ |
Upload File : |
<?php
defined( 'ABSPATH' ) || exit;
/**
* Compatibility with an usual NGINX configuration which include:
* try_files $uri $uri/ /index.php?q=$uri&$args
*
* @since 2.3.9
*
* @param array $query_strings Array of query strings to cache.
*
* @return array Updated array of query strings.
*/
function rocket_better_nginx_compatibility( $query_strings ) {
global $is_nginx;
if ( $is_nginx ) {
$query_strings[] = 'q';
}
return $query_strings;
}
add_filter( 'rocket_cache_query_strings', 'rocket_better_nginx_compatibility' );