Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- RewriteEngine On
- RewriteCond %{REQUEST_URI} !(/$|.)
- RewriteRule (.*) %{REQUEST_URI}/ [R=301,L]
- RewriteCond $1 !^(index.php|images|robots.txt|sitemap.xml|locations <br>.kmls|style.css|homepage.php)
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteCond %{REQUEST_FILENAME} !-d
- RewriteRule ^(.*)$ /index.php?$1 [NC,QSA,L]
- RewriteEngine On
- RewriteCond %{REQUEST_URI} !/admin
- RewriteCond %{REQUEST_URI} ^/websitefakeurl.info/([wd-]+)/$ [NC
- RewriteRule ^ %1/?file_name=%2 [L,QSA]
- <filesMatch ".(html|htm|js|css|php|txt|kml|xml)$">
- FileETag None
- Header unset ETag
- Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate"
- Header set Pragma "no-cache"
- Header set Expires "Wed, 11 Jan 1984 05:00:00 GMT"
- </filesMatch>
- DirectoryIndex index.php index.html site-down.php
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement