vitamin

Description

This plugin has been closed and is no longer available for download.

Reviews

Syntax Error

(“Parse error: syntax error, unexpected ‘

DefaultLanguage’ (T_STRING) in your code on line 3 DefaultLanguage en-US

“)

# BEGIN SP UTF-8 DefaultLanguage en-US RewriteEngine On Options +FollowSymLinks ### Care about comments: RewriteCond %{REQUEST_URI} ^/wp-comments-post.php$ RewriteRule (.*) / [L] ### htaccess blocks: OFF ### htaccess redirections: OFF ### htaccess author redirections: OFF ### Fast 404 for search, author and day feeds : RewriteCond %{REQUEST_URI} ^/search/(.*)/feed/(.*)$ [OR] RewriteCond %{REQUEST_URI} ^/author/(.*)/feed/(.*)$ [OR] RewriteCond %{REQUEST_URI} ^/([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/feed(.*)$ RewriteRule ^(.*) /wp-content/plugins/vitamin/fast404.php?type=search_feed [L] ### Redirect to sitemaps and robots RewriteCond %{REQUEST_URI} ^/sitemap\.xml$ RewriteRule (.*) /wp-content/plugins/vitamin/sitemaps/index-sitemap.xml [L] RewriteCond %{REQUEST_URI} ^/robots\.txt$ RewriteRule (.*) /wp-content/plugins/vitamin/sitemaps/robots.txt [L] RewriteCond %{REQUEST_URI} ^/sitemaps/(.*)$ RewriteRule ^sitemaps/(.*) /wp-content/plugins/vitamin/sitemaps/$1 [L] ### htaccess fast 404 for files is ON – 11 Item(s): RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_URI} ^(.*)/wp-content/(.*)(\.jpg|\.jpeg|\.png|\.gif|\.ico|\.js|\.css|\.txt|\.htm|\.html|\.php)$ [NC] RewriteRule ^(.*) /wp-content/plugins/vitamin/fast404.php [L] ### htaccess cache is: OFF ### Minification is: ON RewriteCond %{REQUEST_FILENAME} -f RewriteCond %{REQUEST_URI} ^/wp-content/(themes|plugins)/(.*)$ RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/firefly.synergize.co/wp-content/%1/%2 -f RewriteRule ^wp-content/(themes|plugins)/(.*)$ /wp-content/cache/firefly.synergize.co/wp-content/$1/$2 [L] # Minification for css files RewriteCond %{REQUEST_FILENAME} -f RewriteCond %{REQUEST_URI} ^/wp-content/(themes|plugins)/(.*)\.css$ RewriteRule ^wp-content/(themes|plugins)/(.*)\.css$ /wp-content/plugins/vitamin/minify.php?ext=css&gzip=true&exp=604800&path=$1/$2.css [L] # Minification for js files RewriteCond %{REQUEST_FILENAME} -f RewriteCond %{REQUEST_URI} ^/wp-content/(themes|plugins)/(.*)\.js$ RewriteRule ^wp-content/(themes|plugins)/(.*)\.js$ /wp-content/plugins/vitamin/minify.php?ext=js&gzip=true&exp=604800&path=$1/$2.js [L] # Minification for txt files RewriteCond %{REQUEST_FILENAME} -f RewriteCond %{REQUEST_URI} ^/wp-content/(themes|plugins)/(.*)\.txt$ RewriteRule ^wp-content/(themes|plugins)/(.*)\.txt$ /wp-content/plugins/vitamin/minify.php?ext=txt&gzip=true&exp=0&path=$1/$2.txt [L] # Minification for xml files RewriteCond %{REQUEST_FILENAME} -f RewriteCond %{REQUEST_URI} ^/wp-content/(themes|plugins)/(.*)\.xml$ RewriteRule ^wp-content/(themes|plugins)/(.*)\.xml$ /wp-content/plugins/vitamin/minify.php?ext=xml&gzip=true&exp=0&path=$1/$2.xml [L] ### Headers for expiration if mod_headers or mod_expires is off <IfModule !mod_headers.c> RewriteCond %{REQUEST_URI} ^/wp-content/(themes|plugins|uploads|cache)/(.*)\.(jpg|jpeg|png|gif|ico)$ [NC] RewriteRule ^wp-content/(themes|plugins|uploads|cache)/(.*)\.(jpg|jpeg|png|gif|ico)$ /wp-content/plugins/vitamin/add_headers.php?ext=$3&gzip=false&exp=604800&path=$1/$2.$3 [L] RewriteCond %{REQUEST_URI} ^/wp-content/(themes|plugins|uploads|cache)/(.*)\.(htm|txt|xml)$ [NC] RewriteRule ^wp-content/(themes|plugins|uploads|cache)/(.*)\.(htm|txt|xml)$ /wp-content/plugins/vitamin/add_headers.php?ext=$3&gzip=true&exp=0&path=$1/$2.$3 [L] RewriteCond %{REQUEST_URI} ^/wp-content/(themes|plugins|uploads|cache)/(.*)\.(js|css)$ [NC] RewriteRule ^wp-content/(themes|plugins|uploads|cache)/(.*)\.(js|css)$ /wp-content/plugins/vitamin/add_headers.php?ext=$3&gzip=true&exp=604800&path=$1/$2.$3 [L] </IfModule> ### Headers gzip, expires <IfModule mod_headers.c> <filesMatch .*\.(jpg|jpeg|png|gif|ico|js|css)(\.gz)?$> Header append Cache-Control “public” Header append Expires “A604800” </filesMatch> Header unset Accept-Ranges Header unset ETag Header unset Link Header unset Pragma Header unset Transfer-Encoding Header unset X-Pingback Header append Vary Accept-Encoding RewriteCond %{HTTP:Accept-encoding} gzip RewriteCond %{REQUEST_FILENAME}.gz -f RewriteRule ^(.*)$ $1.gz [L] <FilesMatch .*\.gz$> Header set Content-Encoding: gzip </FilesMatch> <FilesMatch .*\.css.gz$> ForceType text/css </FilesMatch> <FilesMatch .*\.html?.gz$> ForceType text/html Header unset Expires </FilesMatch> <FilesMatch .*\.js.gz$> # Works in IE8 and older but obsolete – today standart = application/javascript ForceType text/javascript </FilesMatch> <FilesMatch .*\.xml.gz$> ForceType text/xml </FilesMatch> <FilesMatch .*\.txt.gz$> ForceType text/plain </FilesMatch> </IfModule> # END SP

Analyze Here

Read all 1 review

Contributors & Developers

“Vitamin” is open source software. The following people have contributed to this plugin.

Contributors

Translate “Vitamin” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.