Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # BEGIN WPSuperCache
- <IfModule mod_rewrite.c>
- RewriteEngine On
- RewriteBase /
- #If you serve pages from behind a proxy you may want to change 'RewriteCond %{HTTPS} on' to something more sensible
- AddDefaultCharset UTF-8
- RewriteCond %{REQUEST_URI} !^.*[^/]$
- RewriteCond %{REQUEST_URI} !^.*//.*$
- RewriteCond %{REQUEST_METHOD} !POST
- RewriteCond %{QUERY_STRING} !.*=.*
- RewriteCond %{HTTP:Cookie} !^.*(comment_author_|wordpress_logged_in|wp-postpass_).*$
- RewriteCond %{HTTP:X-Wap-Profile} !^[a-z0-9\"]+ [NC]
- RewriteCond %{HTTP:Profile} !^[a-z0-9\"]+ [NC]
- RewriteCond %{HTTP_USER_AGENT} !^.*(2.0\ MMP|240x320|400X240|AvantGo|BlackBerry|Blazer|Cellphone|Danger|DoCoMo|Elaine/3.0|EudoraWeb|Googlebot-Mobile|hiptop|IEMobile|KYOCERA/WX310K|LG/U990|MIDP-2.|MMEF20|MOT-V|NetFront|Newt|Nintendo\ Wii|Nitro|Nokia|Opera\ Mini|Palm|PlayStation\ Portable|portalmmm|Proxinet|ProxiNet|SHARP-TQ-GX10|SHG-i900|Small|SonyEricsson|Symbian\ OS|SymbianOS|TS21i-10|UP.Browser|UP.Link|webOS|Windows\ CE|WinWAP|YahooSeeker/M1A1-R2D2|iPhone|iPod|Android|BlackBerry9530|LG-TU915\ Obigo|LGE\ VX|webOS|Nokia5800).* [NC]
- RewriteCond %{HTTP_user_agent} !^(w3c\ |w3c-|acs-|alav|alca|amoi|audi|avan|benq|bird|blac|blaz|brew|cell|cldc|cmd-|dang|doco|eric|hipt|htc_|inno|ipaq|ipod|jigs|kddi|keji|leno|lg-c|lg-d|lg-g|lge-|lg/u|maui|maxo|midp|mits|mmef|mobi|mot-|moto|mwbp|nec-|newt|noki|palm|pana|pant|phil|play|port|prox|qwap|sage|sams|sany|sch-|sec-|send|seri|sgh-|shar|sie-|siem|smal|smar|sony|sph-|symb|t-mo|teli|tim-|tosh|tsm-|upg1|upsi|vk-v|voda|wap-|wapa|wapi|wapp|wapr|webc|winw|winw|xda\ |xda-).* [NC]
- RewriteCond %{HTTP:Accept-Encoding} gzip
- RewriteCond %{HTTP} on
- RewriteCond /mnt/stor14-wc1-ord1/943245/www.realestateschoolchicago.com/web/content/wp-content/cache/supercache/%{SERVER_NAME}/$1/index-https.html.gz -f
- RewriteRule ^(.*) "/wp-content/cache/supercache/%{SERVER_NAME}/$1/index-https.html.gz" [L]
- RewriteCond %{REQUEST_URI} !^.*[^/]$
- RewriteCond %{REQUEST_URI} !^.*//.*$
- RewriteCond %{REQUEST_METHOD} !POST
- RewriteCond %{QUERY_STRING} !.*=.*
- RewriteCond %{HTTP:Cookie} !^.*(comment_author_|wordpress_logged_in|wp-postpass_).*$
- RewriteCond %{HTTP:X-Wap-Profile} !^[a-z0-9\"]+ [NC]
- RewriteCond %{HTTP:Profile} !^[a-z0-9\"]+ [NC]
- RewriteCond %{HTTP_USER_AGENT} !^.*(2.0\ MMP|240x320|400X240|AvantGo|BlackBerry|Blazer|Cellphone|Danger|DoCoMo|Elaine/3.0|EudoraWeb|Googlebot-Mobile|hiptop|IEMobile|KYOCERA/WX310K|LG/U990|MIDP-2.|MMEF20|MOT-V|NetFront|Newt|Nintendo\ Wii|Nitro|Nokia|Opera\ Mini|Palm|PlayStation\ Portable|portalmmm|Proxinet|ProxiNet|SHARP-TQ-GX10|SHG-i900|Small|SonyEricsson|Symbian\ OS|SymbianOS|TS21i-10|UP.Browser|UP.Link|webOS|Windows\ CE|WinWAP|YahooSeeker/M1A1-R2D2|iPhone|iPod|Android|BlackBerry9530|LG-TU915\ Obigo|LGE\ VX|webOS|Nokia5800).* [NC]
- RewriteCond %{HTTP_user_agent} !^(w3c\ |w3c-|acs-|alav|alca|amoi|audi|avan|benq|bird|blac|blaz|brew|cell|cldc|cmd-|dang|doco|eric|hipt|htc_|inno|ipaq|ipod|jigs|kddi|keji|leno|lg-c|lg-d|lg-g|lge-|lg/u|maui|maxo|midp|mits|mmef|mobi|mot-|moto|mwbp|nec-|newt|noki|palm|pana|pant|phil|play|port|prox|qwap|sage|sams|sany|sch-|sec-|send|seri|sgh-|shar|sie-|siem|smal|smar|sony|sph-|symb|t-mo|teli|tim-|tosh|tsm-|upg1|upsi|vk-v|voda|wap-|wapa|wapi|wapp|wapr|webc|winw|winw|xda\ |xda-).* [NC]
- RewriteCond %{HTTP:Accept-Encoding} gzip
- RewriteCond %{HTTP} !on
- RewriteCond /mnt/stor14-wc1-ord1/943245/www.realestateschoolchicago.com/web/content/wp-content/cache/supercache/%{SERVER_NAME}/$1/index.html.gz -f
- RewriteRule ^(.*) "/wp-content/cache/supercache/%{SERVER_NAME}/$1/index.html.gz" [L]
- RewriteCond %{REQUEST_URI} !^.*[^/]$
- RewriteCond %{REQUEST_URI} !^.*//.*$
- RewriteCond %{REQUEST_METHOD} !POST
- RewriteCond %{QUERY_STRING} !.*=.*
- RewriteCond %{HTTP:Cookie} !^.*(comment_author_|wordpress_logged_in|wp-postpass_).*$
- RewriteCond %{HTTP:X-Wap-Profile} !^[a-z0-9\"]+ [NC]
- RewriteCond %{HTTP:Profile} !^[a-z0-9\"]+ [NC]
- RewriteCond %{HTTP_USER_AGENT} !^.*(2.0\ MMP|240x320|400X240|AvantGo|BlackBerry|Blazer|Cellphone|Danger|DoCoMo|Elaine/3.0|EudoraWeb|Googlebot-Mobile|hiptop|IEMobile|KYOCERA/WX310K|LG/U990|MIDP-2.|MMEF20|MOT-V|NetFront|Newt|Nintendo\ Wii|Nitro|Nokia|Opera\ Mini|Palm|PlayStation\ Portable|portalmmm|Proxinet|ProxiNet|SHARP-TQ-GX10|SHG-i900|Small|SonyEricsson|Symbian\ OS|SymbianOS|TS21i-10|UP.Browser|UP.Link|webOS|Windows\ CE|WinWAP|YahooSeeker/M1A1-R2D2|iPhone|iPod|Android|BlackBerry9530|LG-TU915\ Obigo|LGE\ VX|webOS|Nokia5800).* [NC]
- RewriteCond %{HTTP_user_agent} !^(w3c\ |w3c-|acs-|alav|alca|amoi|audi|avan|benq|bird|blac|blaz|brew|cell|cldc|cmd-|dang|doco|eric|hipt|htc_|inno|ipaq|ipod|jigs|kddi|keji|leno|lg-c|lg-d|lg-g|lge-|lg/u|maui|maxo|midp|mits|mmef|mobi|mot-|moto|mwbp|nec-|newt|noki|palm|pana|pant|phil|play|port|prox|qwap|sage|sams|sany|sch-|sec-|send|seri|sgh-|shar|sie-|siem|smal|smar|sony|sph-|symb|t-mo|teli|tim-|tosh|tsm-|upg1|upsi|vk-v|voda|wap-|wapa|wapi|wapp|wapr|webc|winw|winw|xda\ |xda-).* [NC]
- RewriteCond %{HTTP} on
- RewriteCond /mnt/stor14-wc1-ord1/943245/www.realestateschoolchicago.com/web/content/wp-content/cache/supercache/%{SERVER_NAME}/$1/index-https.html -f
- RewriteRule ^(.*) "/wp-content/cache/supercache/%{SERVER_NAME}/$1/index-https.html" [L]
- RewriteCond %{REQUEST_URI} !^.*[^/]$
- RewriteCond %{REQUEST_URI} !^.*//.*$
- RewriteCond %{REQUEST_METHOD} !POST
- RewriteCond %{QUERY_STRING} !.*=.*
- RewriteCond %{HTTP:Cookie} !^.*(comment_author_|wordpress_logged_in|wp-postpass_).*$
- RewriteCond %{HTTP:X-Wap-Profile} !^[a-z0-9\"]+ [NC]
- RewriteCond %{HTTP:Profile} !^[a-z0-9\"]+ [NC]
- RewriteCond %{HTTP_USER_AGENT} !^.*(2.0\ MMP|240x320|400X240|AvantGo|BlackBerry|Blazer|Cellphone|Danger|DoCoMo|Elaine/3.0|EudoraWeb|Googlebot-Mobile|hiptop|IEMobile|KYOCERA/WX310K|LG/U990|MIDP-2.|MMEF20|MOT-V|NetFront|Newt|Nintendo\ Wii|Nitro|Nokia|Opera\ Mini|Palm|PlayStation\ Portable|portalmmm|Proxinet|ProxiNet|SHARP-TQ-GX10|SHG-i900|Small|SonyEricsson|Symbian\ OS|SymbianOS|TS21i-10|UP.Browser|UP.Link|webOS|Windows\ CE|WinWAP|YahooSeeker/M1A1-R2D2|iPhone|iPod|Android|BlackBerry9530|LG-TU915\ Obigo|LGE\ VX|webOS|Nokia5800).* [NC]
- RewriteCond %{HTTP_user_agent} !^(w3c\ |w3c-|acs-|alav|alca|amoi|audi|avan|benq|bird|blac|blaz|brew|cell|cldc|cmd-|dang|doco|eric|hipt|htc_|inno|ipaq|ipod|jigs|kddi|keji|leno|lg-c|lg-d|lg-g|lge-|lg/u|maui|maxo|midp|mits|mmef|mobi|mot-|moto|mwbp|nec-|newt|noki|palm|pana|pant|phil|play|port|prox|qwap|sage|sams|sany|sch-|sec-|send|seri|sgh-|shar|sie-|siem|smal|smar|sony|sph-|symb|t-mo|teli|tim-|tosh|tsm-|upg1|upsi|vk-v|voda|wap-|wapa|wapi|wapp|wapr|webc|winw|winw|xda\ |xda-).* [NC]
- RewriteCond %{HTTP} !on
- RewriteCond /mnt/stor14-wc1-ord1/943245/www.realestateschoolchicago.com/web/content/wp-content/cache/supercache/%{SERVER_NAME}/$1/index.html -f
- RewriteRule ^(.*) "/wp-content/cache/supercache/%{SERVER_NAME}/$1/index.html" [L]
- </IfModule>
- # END WPSuperCache
- # WP REWRITE LOOP END
- # DENY BROWSER ACCESS TO THESE FILES
- # wp-config.php, bb-config.php, php.ini, php5.ini, readme.html
- # Replace Allow from 88.77.66.55 with your current IP address and remove the
- # pound sign # from in front of the Allow from line of code below to access these
- # files directly from your browser.
- <FilesMatch "^(wp-config\.php|php\.ini|php5\.ini|readme\.html|bb-config\.php)">
- Order allow,deny
- Deny from all
- #Allow from 88.77.66.55
- </FilesMatch>
- # IMPORTANT!!! DO NOT DELETE!!! the END WordPress text below
- # END WordPress
- # BEGIN WordPress
- <IfModule mod_rewrite.c>
- RewriteRule ^index\.php$ - [L]
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteCond %{REQUEST_FILENAME} !-d
- RewriteRule . /index.php [L]
- </IfModule>
- <IfModule mod_rewrite.c>
- RewriteRule ^index\.php$ - [L]
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteCond %{REQUEST_FILENAME} !-d
- RewriteRule . /index.php [L]
- </IfModule>
- <IfModule mod_rewrite.c>
- RewriteRule ^index\.php$ - [L]
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteCond %{REQUEST_FILENAME} !-d
- RewriteRule . /index.php [L]
- </IfModule>
- <IfModule mod_rewrite.c>
- RewriteRule ^index\.php$ - [L]
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteCond %{REQUEST_FILENAME} !-d
- RewriteRule . /index.php [L]
- </IfModule>
- <IfModule mod_rewrite.c>
- RewriteRule ^index\.php$ - [L]
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteCond %{REQUEST_FILENAME} !-d
- RewriteRule . /index.php [L]
- </IfModule>
- # END WordPress
- # FORBID COMMENT SPAMMERS ACCESS TO YOUR wp-comments-post.php FILE
- # This is a better approach to blocking Comment Spammers so that you do not
- # accidentally block good traffic to your website. You can add additional
- # Comment Spammer IP addresses on a case by case basis below.
- # Searchable Database of known Comment Spammers http://www.stopforumspam.com/
- # BLOCK MORE BAD BOTS RIPPERS AND OFFLINE BROWSERS
- # If you would like to block more bad bots you can get a blacklist from
- # http://perishablepress.com/press/2007/06/28/ultimate-htaccess-blacklist/
- # You should monitor your site very closely for at least a week if you add a bad bots list
- # to see if any website traffic problems or other problems occur.
- #--Uses mod_deflate for sending compressed requests--#
- SetOutputFilter DEFLATE
- #--Don't compress these
- SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary
- Header append Vary User-Agent env=!dont-vary
- #--compresses static files--#
- AddOutputFilterByType DEFLATE text/plain
- AddOutputFilterByType DEFLATE text/html
- AddOutputFilterByType DEFLATE text/xml
- AddOutputFilterByType DEFLATE text/css
- AddOutputFilterByType DEFLATE application/xml
- AddOutputFilterByType DEFLATE application/xhtml+xml
- AddOutputFilterByType DEFLATE application/rss+xml
- AddOutputFilterByType DEFLATE application/javascript
- AddOutputFilterByType DEFLATE application/x-javascript
- AddOutputFilterByType DEFLATE font/opentype font/truetype font/eot
- ExpiresActive on
- ExpiresByType image/jpeg A604800
- ExpiresByType image/gif A604800
- ExpiresByType image/png A604800
- ExpiresByType application/x-shockwave-flash A604800
- ExpiresByType audio/mpeg A604800
- ExpiresByType text/x-javascript A604800
- ExpiresByType image/x-icon A604800
- ExpiresByType text/css A604800
- ExpiresByType font/eot A604800
- ExpiresByType font/ttf A604800
- ExpiresByType text/javascript A604800
- ExpiresByType text/html A604800
- ExpiresByType text/xml A604800
- ExpiresByType application/x-javascript A604800
- #--Add some common file types
- #--A complete list can be viewed here: http://www.htaccess-guide.com/adding-mime-types/
- Addtype font/eot .eot
- Addtype font/truetype .ttf
- AddType image/svg+xml .svg .svgz
- AddType image/x-icon .ico
- AddType application/x-shockwave-flash .swf
- AddType video/mpeg .mpeg .mpg .mpe
- AddType video/quicktime .qt .mov
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement