| # Plausible.io analytics | |
| # | |
| # Originally proxying Plausible through Netlify | Plausible docs | |
| # https://plausible.io/docs/proxy/guides/netlify | |
| # | |
| # /remote-assets/page-external-data/js/script.js https://plausible.io/js/script.js 200 | |
| # /api/v1/page-external-data/submit https://plausible.io/api/event 200 | |
| # i18n | |
| /docs/ /docs/en/ 301 | |
| # Normalize old zh-hans locale path to zh-Hans | |
| # This ensures legacy links like /docs/zh-hans/ still work | |
| /docs/zh-hans/* /docs/zh-Hans/:splat 301 | |
| /docs/zh-hans /docs/zh-Hans/ 301 | |