Persistent .htaccess Warning After Manual Code Update
-
Hello WP Super Cache Team,
I hope you’re doing well.
I wanted to report an issue regarding the .htaccess rules generated by the plugin. I manually update and maintain the required rewrite rules inside my
.htaccessfile, and everything is configured correctly. However, after updating the plugin or refreshing the settings, the warning about incorrect or missing .htaccess rules keeps appearing, even though the code is already added and working.Below is the exact code I currently have in my
.htaccessfile:BEGIN WP Super Cache
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP:Accept-Encoding} gzip
RewriteCond %{HTTPS} on
RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{SERVER_NAME}/$1/index-https.html.gz -f
RewriteRule ^(.*) "/wp-content/cache/supercache/%{SERVER_NAME}/$1/index-https.html.gz" [L]
RewriteCond %{HTTP:Accept-Encoding} gzip
RewriteCond %{HTTPS} !on
RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{SERVER_NAME}/$1/index.html.gz -f
RewriteRule ^(.*) "/wp-content/cache/supercache/%{SERVER_NAME}/$1/index.html.gz" [L]
RewriteCond %{HTTPS} on
RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{SERVER_NAME}/$1/index-https.html -f
RewriteRule ^(.*) "/wp-content/cache/supercache/%{SERVER_NAME}/$1/index-https.html" [L]
RewriteCond %{HTTPS} !on
RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{SERVER_NAME}/$1/index.html -f
RewriteRule ^(.*) "/wp-content/cache/supercache/%{SERVER_NAME}/$1/index.html" [L]
AddEncoding gzip .gz
AddType text/html .gz END WP Super CacheDespite having the correct block in place, the plugin continues to show the warning.
Could you please check why the plugin is not detecting the existing rules, or let me know if the detection process has changed?Thank you for your help and for maintaining such a great plugin.
Best regards,
You must be logged in to reply to this topic.