Remove /archive/*
wildcard redirect
This is intended to redirect `/archive/*` paths (the old daily email paths) to `/daily/*`, but is also affecting the `/archive` page and preventing anyone from seeing the email archive.
This commit is contained in:
parent
04a7837ee2
commit
87869da79a
|
@ -21,8 +21,8 @@ RewriteRule ^(.*)index\.html$ /$1 [L,R=301]
|
||||||
|
|
||||||
ErrorDocument 404 /404/index.html
|
ErrorDocument 404 /404/index.html
|
||||||
|
|
||||||
RewriteCond %{REQUEST_URI} !^/archive/?$
|
# RewriteCond %{REQUEST_URI} !^/archive/?$
|
||||||
RewriteRule ^archive/(.*)$ /daily/$1 [L,R=301]
|
# RewriteRule ^archive/(.*)$ /daily/$1 [L,R=301]
|
||||||
|
|
||||||
RewriteRule ^articles/(.*) /blog/$1 [L,R=301]
|
RewriteRule ^articles/(.*) /blog/$1 [L,R=301]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue