mirror of
https://github.com/mastermindzh/rickvanlieshout.com
synced 2024-12-25 06:18:58 +01:00
htaccess update
This commit is contained in:
parent
80fcb43543
commit
12abfd431f
@ -1,6 +1,9 @@
|
||||
# Enable rewriting.
|
||||
RewriteEngine on
|
||||
|
||||
# Error docs
|
||||
ErrorDocument 404 /404.html
|
||||
|
||||
# Compress HTML, CSS, JavaScript, Text, XML and fonts
|
||||
AddOutputFilterByType DEFLATE application/javascript
|
||||
AddOutputFilterByType DEFLATE application/rss+xml
|
||||
@ -65,11 +68,7 @@ RewriteRule ^(.*)$ http://www.mastermindzh.com/$1 [L,R=301]
|
||||
RewriteCond %{REQUEST_FILENAME} !-d
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
|
||||
# Redirect everything else to index.html.
|
||||
# Add QSA to ensure that querystring variables are registered as such.
|
||||
RewriteRule . index.html [L,QSA]
|
||||
|
||||
|
||||
# redirect old blog pages
|
||||
Redirect /home /
|
||||
Redirect /cookies /pages/legal/cookies
|
||||
Redirect /disclaimer /pages/legal/disclaimer
|
||||
|
Loading…
Reference in New Issue
Block a user