Images Never Generate in Cache
-
Hi,
I’m trying this plugin on my local environment and also staging (where there are more images) but can never get it to work.
.htaccess:
# BEGIN Adaptive Images
#=======================<IfModule mod_rewrite.c>
RewriteEngine On
# Watched directories
RewriteCond %{REQUEST_URI} /wp-content/uploads [OR]
RewriteCond %{REQUEST_URI} /wp-content/themes# Redirect images through the adaptive images script
RewriteRule \.(?:jpe?g|gif|png)$ /hgv_data/sites/hhvm/wp-content/plugins/adaptive-images/adaptive-images-script.php [L]</IfModule>
# END Adaptive Images
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]# add a trailing slash to /wp-admin
RewriteRule ^wp-admin$ wp-admin/ [R=301,L]RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ – [L]
RewriteRule ^(wp-(content|admin|includes).*) $1 [L]
RewriteRule ^(.*\.php)$ $1 [L]
RewriteRule . index.php [L]I had to create folder manually at /wp-content/cache/adaptive-images
Hit my website many times but no images being made.
The topic ‘Images Never Generate in Cache’ is closed to new replies.