Options +FollowSymlinks
# Prevent Directoy listing
Options -Indexes
Order deny,allow
Deny from all
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]
Options +FollowSymlinks
RewriteEngine On
# Adaptive-Images -----------------------------------------------------------------------------------
# Add any directories you wish to omit from the Adaptive-Images process on a new line, as follows:
# RewriteCond %{REQUEST_URI} !ignore-this-directory
# RewriteCond %{REQUEST_URI} !and-ignore-this-directory-too
#RewriteCond %{REQUEST_URI} !assets
# don't apply the AI behaviour to images inside AI's cache folder:
RewriteCond %{REQUEST_URI} !ai-cache
# don't apply the AI behaviour to images inside cache folder:
RewriteCond %{REQUEST_URI} !css-cache
# Send any GIF, JPG, or PNG request that IS NOT stored inside one of the above directories
# to adaptive-images.php so we can select appropriately sized versions
RewriteRule \.(?:jpe?g|png)$ index.php?_type_=img [L,QSA]
# END Adaptive-Images -------------------------------------------------------------------------------
# CSS ---------------------------------------------------------------------------------
# Add any directories you wish to omit from the Adaptive-Images process on a new line, as follows:
# RewriteCond %{REQUEST_URI} !ignore-this-directory
# RewriteCond %{REQUEST_URI} !and-ignore-this-directory-too
#RewriteCond %{REQUEST_URI} !assets
# don't apply the AI behaviour to images inside AI's cache folder:
RewriteCond %{REQUEST_URI} !ai-cache
# don't apply the AI behaviour to images inside cache folder:
RewriteCond %{REQUEST_URI} !css-cache
# Send any CSS or JS request that IS NOT stored inside one of the above directories
# to adaptive-images.php so we can select appropriately sized versions
#RewriteRule \.(?:css|js)$ index.php?_type_=script
# END Adaptive-Images -------------------------------------------------------------------------------