Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter foxse

    (@foxse)

    I Do not know how to do it right.
    The WordPress has limited permissions.
    May be move the cache in the WP directory?


    • This reply was modified 9 years, 5 months ago by foxse.
    Thread Starter foxse

    (@foxse)

    Hi, Takis

    My thanks to you for your quick response.
    The plugin works on local server too.
    ———————————–

    For the local server (XAMPP):
    1. I created folders [cache], [adaptive-images] d:\xampp\htdocs\v44-2\wp-content\cache\adaptive-images\ (uncheck read-only and all other prohibitions from Total Commander, not Windows)

    2. .htaccess (manual edit)

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{REQUEST_URI} /v44-2/wp-content/uploads [OR]
    RewriteCond %{REQUEST_URI} /v44-2/wp-content/themes
    # Generated with plugin RewriteRule \.(?:jpe?g|gif|png)$ /v44-2/D:\xampp\htdocs\v44-2\wp-content\plugins\adaptive-images/adaptive-images-script.php [L]

    RewriteRule \.(?:jpe?g|gif|png)$ /v44-2/wp-content/plugins/adaptive-images/adaptive-images-script.php [L]
    </IfModule>

    3. Other settings as usual
    ————————————————

    For public server:
    1. I created folders [cache], [adaptive-images] /var/www/user/data/www/site.com/wp-content/cache/adaptive-images (permission 0666 for [cache] and childs, X – for folder)

    2. .htaccess

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{REQUEST_URI} /wp-content/uploads [OR]
    RewriteCond %{REQUEST_URI} /wp-content/themes
    RewriteRule \.(?:jpe?g|gif|png)$ /wp-content/plugins/adaptive-images/adaptive-images-script.php [L]
    </IfModule>
    —————————-

    Thank you very much for your job, it is very useful plugin!

Viewing 2 replies - 1 through 2 (of 2 total)