From a889de939854c4846d6151f9bb99f4d7c0919d1d Mon Sep 17 00:00:00 2001 From: curben Date: Fri, 21 Jun 2019 11:33:52 +0930 Subject: [PATCH 1/2] fix(seo): redirect post link to /blog/ * sitemap "has less powerful signal to Googlebot" * https://support.google.com/webmasters/answer/139066 --- source/_redirects | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/_redirects b/source/_redirects index 9ebd66b..6241809 100644 --- a/source/_redirects +++ b/source/_redirects @@ -1,2 +1,4 @@ # Temporarily set the homepage to /blog / /blog/ 302 +# Redirect post to /blog/ +/:year/:month/:date/:slug /blog/:year/:month/:date/:slug 301 \ No newline at end of file From 9681db0fe632ce838154f4de991890cf1424b9fa Mon Sep 17 00:00:00 2001 From: curben Date: Fri, 21 Jun 2019 13:53:12 +0930 Subject: [PATCH 2/2] fix: append slash to redirect --- source/_redirects | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_redirects b/source/_redirects index 6241809..586b1dd 100644 --- a/source/_redirects +++ b/source/_redirects @@ -1,4 +1,4 @@ # Temporarily set the homepage to /blog / /blog/ 302 # Redirect post to /blog/ -/:year/:month/:date/:slug /blog/:year/:month/:date/:slug 301 \ No newline at end of file +/:year/:month/:date/:slug /blog/:year/:month/:date/:slug/ 301 \ No newline at end of file