diff --git a/_include/.htaccess b/_include/.htaccess index a8bfda1984..7adb933902 100644 --- a/_include/.htaccess +++ b/_include/.htaccess @@ -1,4 +1,11 @@ -# redirect rules to prevent old links from breaking +# Allow removed content to expire + + ExpiresActive on + ExpiresByType text/html "access plus 1 hours" + ExpiresDefault "access plus 1 days" + + +# Redirect rules to prevent old links from breaking RewriteEngine On RewriteCond %{HTTPS} off diff --git a/content/.htaccess b/content/.htaccess index a8bfda1984..7adb933902 100644 --- a/content/.htaccess +++ b/content/.htaccess @@ -1,4 +1,11 @@ -# redirect rules to prevent old links from breaking +# Allow removed content to expire + + ExpiresActive on + ExpiresByType text/html "access plus 1 hours" + ExpiresDefault "access plus 1 days" + + +# Redirect rules to prevent old links from breaking RewriteEngine On RewriteCond %{HTTPS} off