Tilray/SquareSpaceMarketingPortal/master/.htaccess - Htaccess File

Tilray/SquareSpaceMarketingPortal/master/.htaccess

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /

RewriteRule ^sitemap_index.xml$ /index.php?sitemap=1 [L]
RewriteRule ^locations.kml$ /index.php?sitemap=wpseo_local_kml [L]
RewriteRule ^geo_sitemap.xml$ /index.php?sitemap=geo [L]
RewriteRule ^([^/]+?)-sitemap([0-9]+)?.xml$ /index.php?sitemap=$1&sitemap_n=$2 [L]
RewriteRule ^([a-z]+)?-?sitemap.xsl$ /index.php?xsl=$1 [L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

<FilesMatch ".(html|htm|xml|txt|xsl|gif|jpg|jpeg|png|css|js)$">
Header set Cache-Control "max-age=864000, must-revalidate"
</FilesMatch>

# END WordPress

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache