-
Notifications
You must be signed in to change notification settings - Fork 0
/
.htaccess
34 lines (23 loc) · 1.17 KB
/
.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
30
31
32
33
34
# BEGIN WordPress
<IfModule mod_rewrite.c>
# 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
RewriteCond %{REQUEST_URI} uploads
# don't apply the AI behaviour to images inside AI's cache folder:
RewriteCond %{REQUEST_URI} !ai-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|gif|png)$ adaptive-images.php
RewriteRule \.(?:jpe?g|gif|png)$ wp-content/themes/nousdesign/assets/adaptive-images.php
# END Adaptive-Images -------------------------------------------------------------------------------
RewriteEngine On
RewriteBase /nousdesign/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /nousdesign/index.php [L]
</IfModule>
# END WordPress