Skip to content

Commit 709027a

Browse files
committed
fix(seo): add more redirects for various URL patterns
1 parent 78d655e commit 709027a

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

src/redirects.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,23 @@ export const redirects: Record<string, string> = {
9494
// Static pages
9595
'/tags.html': '/tags/',
9696
'/en/tags.html': '/en/tags/',
97+
'/en/tags/': '/en/',
9798
'/search.html': '/search/',
9899
'/blog/': '/',
99100
'/en/blog/': '/en/',
101+
'/feed.xml': '/rss.xml',
102+
103+
// Additional blog redirects (different slug formats)
104+
'/blog/Writing-Functions-in-Python/': '/blog/writing-functions-in-python/',
105+
'/2021/12/03/Building-Data-Engineering-Pipelines-in-Python/':
106+
'/blog/building-data-engineering-pipelines-in-python/',
107+
'/2022/09/15/BigSeries/': '/blog/bigseries/',
108+
'/en/2022/01/01/NLP_XAI/': '/en/blog/nlp_xai/',
109+
'/en/2022/02/10/PySpark/': '/en/blog/pyspark/',
110+
'/en/2022/01/29/AWS-SAA/': '/en/blog/aws-saa/',
111+
'/en/2022/02/03/Scala/': '/en/blog/scala/',
112+
'/en/2021/12/03/Building-Data-Engineering-Pipelines-in-Python/':
113+
'/en/blog/building-data-engineering-pipelines-in-python/',
100114

101115
// Deleted posts -> redirect to home (not /blog/ to avoid chain redirects)
102116
// (posts that no longer exist in the current site)

0 commit comments

Comments
 (0)