HTACCESS

[themify_is_logged_in]

[code]
php_value memory_limit 256M
php_value max_input_vars 10000

# BEGIN ERROR LOG
php_flag log_errors on
php_flag display_errors off
php_value error_log "/www/htdocs/w01582d9/musicheadquarter/errorLog/errorlog.txt"
# END ERROR LOG

# BEGINN REDIRECTS
RedirectMatch 301 /v1/(.*) http://musicheadquarter.de/
RedirectMatch 301 /c/(.*) http://musicheadquarter.de/
RedirectMatch 301 /news/(.*) http://musicheadquarter.de/
RedirectMatch 301 /previews/(.*) http://musicheadquarter.de/
RedirectMatch 301 /c/live/(.*) http://musicheadquarter.de/
RedirectMatch 301 /c/reviews/(.*) http://musicheadquarter.de/
# END REDIRECTS

# BEGIN Browser Cache
<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 1 days"
ExpiresByType text/html "access plus 1800 seconds"
ExpiresByType image/gif "access plus 1 day"
ExpiresByType image/jpeg "access plus 1 day"
ExpiresByType image/png "access plus 1 day"
ExpiresByType text/css "access plus 1 month"
ExpiresByType text/javascript "access plus 1 month"
ExpiresByType application/x-javascript "access plus 1 month"
ExpiresByType application/javascript "access plus 1 month"
ExpiresByType text/xml "access plus 10 seconds"
</IfModule>
# END Browser Cache

# BEGIN Adaptive Images
<IfModule mod_rewrite.c>
Options +FollowSymlinks
RewriteEngine On
RewriteCond %{REQUEST_URI} !assets
RewriteCond %{REQUEST_URI} !ai-cache
RewriteRule \.(?:jpe?g|gif|png)$ adaptive-images.php
</IfModule>
# END Adaptive Images

# BEGINN CACHIFY
<IfModule mod_rewrite.c>
# ENGINE ON
RewriteEngine On
# GZIP FILE
<IfModule mod_mime.c>
RewriteCond %{REQUEST_URI} /$
RewriteCond %{REQUEST_URI} !^/wp-admin/.*
RewriteCond %{REQUEST_METHOD} !=POST
RewriteCond %{QUERY_STRING} =""
RewriteCond %{HTTP_COOKIE} !(wp-postpass|wordpress_logged_in|comment_author)_
RewriteCond %{HTTP:Accept-Encoding} gzip
RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/cachify/%{HTTP_HOST}%{REQUEST_URI}index.html.gz -f
RewriteRule ^(.*) /wp-content/cache/cachify/%{HTTP_HOST}%{REQUEST_URI}index.html.gz [L]
AddType text/html .gz
AddEncoding gzip .gz
</IfModule>
# HTML FILE
RewriteCond %{REQUEST_URI} /$
RewriteCond %{REQUEST_URI} !^/wp-admin/.*
RewriteCond %{REQUEST_METHOD} !=POST
RewriteCond %{QUERY_STRING} =""
RewriteCond %{HTTP_COOKIE} !(wp-postpass|wordpress_logged_in|comment_author)_
RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/cachify/%{HTTP_HOST}%{REQUEST_URI}index.html -f
RewriteRule ^(.*) /wp-content/cache/cachify/%{HTTP_HOST}%{REQUEST_URI}index.html [L]
# END CACHIFY
[/code]

[/themify_is_logged_in]