Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- AddHandler server-parsed .html
- AddHandler server-parsed .htm
- # Use PHP5 as default
- # AddHandler application/x-httpd-php5 .php .htm .html
- #RedirectMatch \.(dynamiccontent|pl|plx|perl|cgi|php|php4|php4|php6|php3|shtml)$ http://d9dns.com/cgi-sys/movingpage.cgi
- #RedirectMatch \.(dynamiccontent|pl|plx|perl|cgi|php|php4|php4|php6|php3|shtml)$ http://d9dns.com/cgi-sys/movingpage.cgi
- #RedirectMatch \.(dynamiccontent|pl|plx|perl|cgi|php|php4|php4|php6|php3|shtml)$ http://d9dns.com/cgi-sys/movingpage.cgi
- # Turn on Expires and set default to 0
- ExpiresActive On
- ExpiresDefault A0
- # Set up caching on media files for 1 year (forever?)
- <filesMatch "\.(flv|ico|pdf|avi|mov|ppt|doc|mp3|wmv|wav)$">
- ExpiresDefault A29030400
- Header append Cache-Control "public"
- </filesMatch>
- # Set up caching on media files for 6 months
- <filesMatch "\.(gif|jpg|jpeg|png|swf)$">
- ExpiresDefault A14515200
- Header append Cache-Control "public"
- </filesMatch>
- # Set up 1 week caching on commonly updated files
- <filesMatch "\.(xml|txt|html|js|css)$">
- ExpiresDefault A604800
- Header append Cache-Control "proxy-revalidate"
- AddDefaultCharset iso-8859-1
- DefaultLanguage en-gb
- </filesMatch>
- # Force no caching for dynamic files
- <filesMatch "\.(php|cgi|pl|htm)$">
- ExpiresActive Off
- Header set Cache-Control "private, no-cache, no-store, proxy-revalidate, no-transform"
- Header set Pragma "no-cache"
- AddDefaultCharset iso-8859-1
- DefaultLanguage en-gb
- </filesMatch>
- RewriteRule ^growingyourownveg/.*$ - [PT]
- # BEGIN WordPress
- <IfModule mod_rewrite.c>
- RewriteEngine On
- RewriteBase /
- RewriteRule ^index\.php$ - [L]
- # uploaded files
- RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]
- # add a trailing slash to /wp-admin
- RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
- RewriteCond %{REQUEST_FILENAME} -f [OR]
- RewriteCond %{REQUEST_FILENAME} -d
- RewriteRule ^ - [L]
- RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
- RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
- RewriteRule . index.php [L]
- </IfModule>
- # END WordPress
- RewriteCond %{HTTP_USER_AGENT} ^Baiduspider/2.0 [NC,OR]
- RewriteRule ^.* - [F,L]
- RewriteCond %{HTTP_USER_AGENT} ^Baiduspider [NC,OR]
- RewriteRule ^.* - [F,L]
- RewriteCond %{HTTP_USER_AGENT} ^Baidu [NC,OR]
- RewriteRule ^.* - [F,L]
- <Files 403.shtml>
- order allow,deny
- allow from all
- </Files>
- RewriteCond %{HTTP_HOST} ^health\.simonegansmith\.com$ [OR]
- RewriteCond %{HTTP_HOST} ^www\.health\.simonegansmith\.com$
- RewriteRule ^Health_\&_Fitness\/Quit_Smoking\/Weight_Loss\/Walking_For_Fitness\/Weight_Loss\/Health_\&_Fitness\/Pregnancy\/?(.*)$ "http\:\/\/health\.simonegansmith\.com\/Pregnancy\/$1" [R=301,L]
- RewriteCond %{HTTP_HOST} ^health\.simonegansmith\.com$ [OR]
- RewriteCond %{HTTP_HOST} ^www\.health\.simonegansmith\.com$
- RewriteRule ^Health_\&_Fitness\/Quit_Smoking\/Weight_Loss\/Walking_For_Fitness\/Weight_Loss\/Health_\&_Fitness\/Quit_Smoking\/?(.*)$ "http\:\/\/health\.simonegansmith\.com\/Quit_Smoking\/$1" [R=301,L]
- RewriteCond %{HTTP_HOST} ^health\.simonegansmith\.com$ [OR]
- RewriteCond %{HTTP_HOST} ^www\.health\.simonegansmith\.com$
- RewriteRule ^Health_\&_Fitness\/Quit_Smoking\/Weight_Loss\/Walking_For_Fitness\/Weight_Loss\/Health_\&_Fitness\/Weight_Loss\/?(.*)$ "http\:\/\/health\.simonegansmith\.com\/Weight_Loss\/$1" [R=301,L]
- RewriteCond %{HTTP_HOST} ^health\.simonegansmith\.com$ [OR]
- RewriteCond %{HTTP_HOST} ^www\.health\.simonegansmith\.com$
- RewriteRule ^Health_\&_Fitness\/Quit_Smoking\/Weight_Loss\/Walking_For_Fitness\/Weight_Loss\/Health_\&_Fitness\/Walking_For_Fitness\/?(.*)$ "http\:\/\/health\.simonegansmith\.com\/Walking_For_Fitness\/$1" [R=301,L]
- RewriteCond %{HTTP_HOST} ^health\.simonegansmith\.com$ [OR]
- RewriteCond %{HTTP_HOST} ^www\.health\.simonegansmith\.com$
- RewriteRule ^h\/Weight_Loss\/Pregnancy\/Pregnancy\/Health_\&_Fitness\/Walking_For_Fitness\/Quit_Smoking\/Weight_Loss\/Walking_For_Fitness\/?(.*)$ "http\:\/\/health\.simonegansmith\.com\/Walking_For_Fitness\/$1" [R=301,L]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement