Skip to content

Commit 03631ff

Browse files
committed
fix(seo): use lowercase slugs in redirect targets
1 parent 38d6e4b commit 03631ff

File tree

1 file changed

+30
-30
lines changed

1 file changed

+30
-30
lines changed

src/redirects.ts

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -3,37 +3,37 @@
33
* Generated from Google Search Console 404 report.
44
*
55
* Old pattern: /{YYYY}/{MM}/{DD}/{slug}/
6-
* New pattern: /blog/{slug}/
6+
* New pattern: /blog/{slug}/ (lowercase, hyphenated)
77
*/
88

99
export const redirects: Record<string, string> = {
1010
// Korean posts
1111
'/2021/09/07/pandas/': '/blog/pandas/',
12-
'/2021/09/14/Writing Efficient Python Code/': '/blog/Writing Efficient Python Code/',
13-
'/2021/09/14/Writing-Efficient-Python-Code/': '/blog/Writing Efficient Python Code/',
14-
'/2021/09/16/Writing Functions in Python/': '/blog/Writing Functions in Python/',
15-
'/2021/10/07/Data Processing in Shell/': '/blog/Data Processing in Shell/',
16-
'/2021/10/07/Data-Processing-in-Shell/': '/blog/Data Processing in Shell/',
17-
'/2021/10/14/Introduction to Bash Scripting/': '/blog/Introduction to Bash Scripting/',
18-
'/2021/10/28/objective oriented programming/': '/blog/objective oriented programming/',
12+
'/2021/09/14/Writing Efficient Python Code/': '/blog/writing-efficient-python-code/',
13+
'/2021/09/14/Writing-Efficient-Python-Code/': '/blog/writing-efficient-python-code/',
14+
'/2021/09/16/Writing Functions in Python/': '/blog/writing-functions-in-python/',
15+
'/2021/10/07/Data Processing in Shell/': '/blog/data-processing-in-shell/',
16+
'/2021/10/07/Data-Processing-in-Shell/': '/blog/data-processing-in-shell/',
17+
'/2021/10/14/Introduction to Bash Scripting/': '/blog/introduction-to-bash-scripting/',
18+
'/2021/10/28/objective oriented programming/': '/blog/objective-oriented-programming/',
1919
'/2021/11/11/Unit Testing for Data Science in Python/':
20-
'/blog/Unit Testing for Data Science in Python/',
20+
'/blog/unit-testing-for-data-science-in-python/',
2121
'/2021/11/12/AWS - 아마존 웹서비스/': '/blog/aws-amazon-web-services-cloud-computing/',
2222
'/2021/11/12/AWS-아마존-웹서비스/': '/blog/aws-amazon-web-services-cloud-computing/',
23-
'/2021/11/18/Introduction to Airflow in Python/': '/blog/Introduction to Airflow in Python/',
24-
'/2021/11/24/Introduction to PySpark/': '/blog/Introduction to PySpark/',
25-
'/2021/11/24/Introduction-to-PySpark/': '/blog/Introduction to PySpark/',
23+
'/2021/11/18/Introduction to Airflow in Python/': '/blog/introduction-to-airflow-in-python/',
24+
'/2021/11/24/Introduction to PySpark/': '/blog/introduction-to-pyspark/',
25+
'/2021/11/24/Introduction-to-PySpark/': '/blog/introduction-to-pyspark/',
2626
'/2021/12/03/Building Data Engineering Pipelines in Python/':
27-
'/blog/Building Data Engineering Pipelines in Python/',
28-
'/2022/01/04/Introduction to AWS Boto in Python/': '/blog/Introduction to AWS Boto in Python/',
27+
'/blog/building-data-engineering-pipelines-in-python/',
28+
'/2022/01/04/Introduction to AWS Boto in Python/': '/blog/introduction-to-aws-boto-in-python/',
2929
'/2022/01/20/Introduction to Relational Databases in SQL/':
30-
'/blog/Introduction to Relational Databases in SQL/',
30+
'/blog/introduction-to-relational-databases-in-sql/',
3131
'/2022/01/20/Introduction-to-Relational-Databases-in-SQL/':
32-
'/blog/Introduction to Relational Databases in SQL/',
33-
'/2022/01/27/Database Design/': '/blog/Database Design/',
34-
'/2022/01/29/AWS-SAA/': '/blog/AWS-SAA/',
35-
'/2022/02/03/Scala/': '/blog/Scala/',
36-
'/2022/02/10/PySpark/': '/blog/PySpark/',
32+
'/blog/introduction-to-relational-databases-in-sql/',
33+
'/2022/01/27/Database Design/': '/blog/database-design/',
34+
'/2022/01/29/AWS-SAA/': '/blog/aws-saa/',
35+
'/2022/02/03/Scala/': '/blog/scala/',
36+
'/2022/02/10/PySpark/': '/blog/pyspark/',
3737
'/2022/02/16/AWS-SAA후기/': '/blog/aws-saa-exam-review/',
3838
'/2022/04/24/GCP-GKE자동배포/': '/blog/gcp-gke-automated-deployment/',
3939
'/2022/04/24/gcp-gke-automated-deployment/': '/blog/gcp-gke-automated-deployment/',
@@ -59,25 +59,25 @@ export const redirects: Record<string, string> = {
5959
'/2025/10/01/openai-agent-sdk/': '/blog/openai-agent-sdk/',
6060

6161
// English posts
62-
'/en/2021/09/16/Writing Functions in Python/': '/en/blog/Writing Functions in Python/',
63-
'/en/2021/10/07/Data Processing in Shell/': '/en/blog/Data Processing in Shell/',
64-
'/en/2021/10/14/Introduction to Bash Scripting/': '/en/blog/Introduction to Bash Scripting/',
65-
'/en/2021/10/28/objective oriented programming/': '/en/blog/objective oriented programming/',
62+
'/en/2021/09/16/Writing Functions in Python/': '/en/blog/writing-functions-in-python/',
63+
'/en/2021/10/07/Data Processing in Shell/': '/en/blog/data-processing-in-shell/',
64+
'/en/2021/10/14/Introduction to Bash Scripting/': '/en/blog/introduction-to-bash-scripting/',
65+
'/en/2021/10/28/objective oriented programming/': '/en/blog/objective-oriented-programming/',
6666
'/en/2021/11/11/Unit Testing for Data Science in Python/':
67-
'/en/blog/Unit Testing for Data Science in Python/',
67+
'/en/blog/unit-testing-for-data-science-in-python/',
6868
'/en/2021/11/12/aws-amazon-web-services-cloud-computing/':
6969
'/en/blog/aws-amazon-web-services-cloud-computing/',
70-
'/en/2021/11/24/Introduction to PySpark/': '/en/blog/Introduction to PySpark/',
70+
'/en/2021/11/24/Introduction to PySpark/': '/en/blog/introduction-to-pyspark/',
7171
'/en/2021/12/03/Building Data Engineering Pipelines in Python/':
72-
'/en/blog/Building Data Engineering Pipelines in Python/',
72+
'/en/blog/building-data-engineering-pipelines-in-python/',
7373
'/en/2022/01/04/Introduction to AWS Boto in Python/':
74-
'/en/blog/Introduction to AWS Boto in Python/',
74+
'/en/blog/introduction-to-aws-boto-in-python/',
7575
'/en/2022/01/20/Introduction to Relational Databases in SQL/':
76-
'/en/blog/Introduction to Relational Databases in SQL/',
76+
'/en/blog/introduction-to-relational-databases-in-sql/',
7777
'/en/2022/04/24/gcp-gke-automated-deployment/': '/en/blog/gcp-gke-automated-deployment/',
7878
'/en/2022/08/17/terraform-3/': '/en/blog/terraform-3/',
7979
'/en/2022/09/12/dbt1/': '/en/blog/dbt1/',
80-
'/en/2022/09/17/GCP-secret-manager/': '/en/blog/GCP-secret-manager/',
80+
'/en/2022/09/17/GCP-secret-manager/': '/en/blog/gcp-secret-manager/',
8181
'/en/2022/09/17/using-keda-pubsub-autoscaling/': '/en/blog/using-keda-pubsub-autoscaling/',
8282
'/en/2022/10/01/GKE업데이트/': '/en/blog/gke-automatic-updates/',
8383
'/en/2023/01/08/k8s구성하기/': '/en/blog/setting-up-kubernetes/',

0 commit comments

Comments
 (0)