forked from seraphyn/Adaptive-Images-for-WordPress
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.htaccess
29 lines (24 loc) · 838 Bytes
/
.htaccess
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# BEGIN Adaptive-Images
<IfModule mod_rewrite.c>
# omiting directories from the Adaptive-Images process
RewriteCond %{REQUEST_URI} !ai-cache
RewriteCond %{REQUEST_URI} !wp-admin
RewriteCond %{REQUEST_URI} !plugins
RewriteCond %{REQUEST_URI} !themes
RewriteCond %{REQUEST_URI} !wp-includes
# 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|gif|png)$ adaptive-images/adaptive-images.php
</IfModule>
# END Adaptive-Images
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
Options +FollowSymlinks
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress