Resolve redirection to index_gzip.html issue
In some cases your visitors can be redirected to this kind of URL on your site:
https://example.com/wp-content/cache/wp-rocket/example.com/index.html_gzip
There could be three reasons for this related to WP Rocket.
Redirect from HTTP to HTTPS
If you have SSL enabled for your entire site, you will need to make sure that all links pointing to the HTTP version of your site will be automatically redirected to the HTTPS version
Note: If you are running v2.5.5 of WP Rocket or older, make sure to check Fix For SSL Redirection Issue Knowledge Base article. Maybe better idea would be to update WP Rocket to the latest version
www/non-www Redirection
This problem can appear when your site is accessible via both addresses http://www.example.com
and http://example.com
To resolve it, follow our Fixing non-www Redirection Knowledge Base article.
Remove rewrite rules from .htaccess
Another potential issue could be related to Rewrite Rules we add in .htaccess file. To remove these, install the following helper plugin, activate it and then disable/reactivate WP Rocket afterwards so that the modifications of the .htaccess file are taken into account:
📥 Download (.zip): WP Rocket | Remove Rewrite Rules
Developers: You can find the code for this plugin on GitHub.