ravikr9096/masondog/master/.htaccess - Htaccess File

ravikr9096/masondog/master/.htaccess

# BEGIN WpFastestCache
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
AddDefaultCharset UTF-8
RewriteCond %{HTTP_HOST} ^www.localhost [NC]
RewriteRule ^(.*)$ http://localhost/masondog/$1 [R=301,L]
RewriteCond %{REQUEST_METHOD} !POST
RewriteCond %{QUERY_STRING} !.*=.*
RewriteCond %{HTTP:X-Wap-Profile} !^[a-z0-9"]+ [NC]
RewriteCond %{HTTP:Profile} !^[a-z0-9"]+ [NC]
RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/all/$1/index.html -f [or]
RewriteCond C:wampwwwmasondog/wp-content/cache/all/masondog/$1/index.html -f
RewriteRule ^(.*) "/masondog/wp-content/cache/all/masondog/$1/index.html" [L]
</IfModule>
<FilesMatch ".(html|htm)$">
FileETag None
<ifModule mod_headers.c>
Header unset ETag
Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate"
Header set Pragma "no-cache"
Header set Expires "Mon, 29 Oct 1923 20:30:00 GMT"
</ifModule>
</FilesMatch>
# END WpFastestCache

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /masondog/
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /masondog/index.php [L]
</IfModule>

# END WordPress

On Github License

Files

Download PDF of Htaccess file
DOCUMENT_ROOT, HTTP_HOST, no-cache, POST, Pragma, Profile, QUERY_STRING, REQUEST_FILENAME, REQUEST_METHOD, X-Wap-Profile

Comments

Apache