Skip to content

Commit

Permalink
feat(seo): add some redirect settings for blog path
Browse files Browse the repository at this point in the history
  • Loading branch information
macrat committed Mar 24, 2024
1 parent 04ad221 commit 4d08ef9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config.json
Expand Up @@ -29,6 +29,9 @@
{"source": "/about.html", "destination": "/about"},
{"source": "/blog/(20[0-9]{2})/(1[0-2]|0[0-9])/(.+)\\.html", "destination": "/blog/$1/$2/$3"},
{"source": "/blog/(20[0-9]{2})/(1[0-2]|0[0-9])/(.+)\\.amp", "destination": "/blog/$1/$2/$3"},
{"source": "/(20[0-9]{2})/(1[0-2]|0[0-9])/(.+)", "destination": "/blog/$1/$2/$3"},
{"source": "/(20[0-9]{2})/(1[0-2]|0[0-9])", "destination": "/blog/$1/$2"},
{"source": "/(20[0-9]{2})", "destination": "/blog/$1"},
{"source": "/blog/1212061454.html", "destination": "/blog/2012/12/test-a"},
{"source": "/blog/1212061455.html", "destination": "/blog/2012/12/test-b"},
{"source": "/blog/1212061528.html", "destination": "/blog/2012/12/test-c"},
Expand Down

0 comments on commit 4d08ef9

Please sign in to comment.