mirror of
https://github.com/tiennm99/blog.git
synced 2026-10-11 03:13:10 +00:00
Generate a Cloudflare Pages _redirects file with 301s from the old /post/YYYY/MM/DD/ post URLs and the old pagination pages. The rules are temporary and marked for removal once the old URLs stop getting traffic.
28 lines
758 B
YAML
28 lines
758 B
YAML
baseurl: https://miti99.com/
|
|
languageCode: vi
|
|
theme: tsuki
|
|
title: miti99
|
|
defaultContentLanguage: vi
|
|
hasCJKLanguage: false
|
|
enableRobotsTXT: true
|
|
timeZone: Asia/Ho_Chi_Minh
|
|
enableGitInfo: true
|
|
|
|
# TEMPORARY (added 2026-10-04): Cloudflare Pages `_redirects` file that sends
|
|
# the old Stack-theme URLs (/post/YYYY/MM/DD/, home pagination /page/N/) to
|
|
# their tsuki URLs. Remove this block and layouts/home.redirects together once
|
|
# the old URLs no longer get traffic (review at 3, 6 or 12 months after the
|
|
# migration ships).
|
|
mediaTypes:
|
|
text/redirects:
|
|
delimiter: ""
|
|
suffixes: [""]
|
|
outputFormats:
|
|
redirects:
|
|
baseName: _redirects
|
|
mediaType: text/redirects
|
|
isPlainText: true
|
|
notAlternative: true
|
|
outputs:
|
|
home: [html, rss, redirects]
|