Skip to content

Commit b3d4403

Browse files
feat(seo): 다국어 포스트 URL을 /en/, /ja/ 계층 구조로 변경
영어 포스트 → /en/YYYY/MM/DD/slug/, 일본어 → /ja/YYYY/MM/DD/slug/ 기존 URL은 jekyll-redirect-from으로 리다이렉트 처리 본문 하드코딩 링크 152개 일괄 수정, hreflang 태그 업데이트
1 parent 0f35c72 commit b3d4403

140 files changed

Lines changed: 569 additions & 154 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

_config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ plugins:
4242
- jekyll-sitemap
4343
- jekyll-seo-tag
4444
- jekyll-paginate
45+
- jekyll-redirect-from
4546

4647
# Pagination
4748
paginate: 30

_layouts/default.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
{%- endif -%}
2727
{%- assign date_path = page.date | date: "/%Y/%m/%d/" -%}
2828
<link rel="alternate" hreflang="ko" href="{{ site.url }}{{ date_path }}{{ base_slug }}/" />
29-
<link rel="alternate" hreflang="en" href="{{ site.url }}{{ date_path }}{{ base_slug }}-en/" />
30-
<link rel="alternate" hreflang="ja" href="{{ site.url }}{{ date_path }}{{ base_slug }}-ja/" />
29+
<link rel="alternate" hreflang="en" href="{{ site.url }}/en{{ date_path }}{{ base_slug }}-en/" />
30+
<link rel="alternate" hreflang="ja" href="{{ site.url }}/ja{{ date_path }}{{ base_slug }}-ja/" />
3131
<link rel="alternate" hreflang="x-default" href="{{ site.url }}{{ date_path }}{{ base_slug }}/" />
3232
{% else %}
3333
{%- assign base_path = page.url | remove: '/en' | remove: '/ja' -%}

_posts/2020-03-15-why-i-use-docker-en.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ tags: [Docker, Container, Deployment, DevEnvironment, DevOps]
77
author: "Kevin Park"
88
lang: en
99
excerpt: "I switched every project to Docker two years ago. Low barrier to entry, easy deployments... but is it really all upside?"
10+
permalink: /en/:year/:month/:day/:title/
11+
redirect_from:
12+
- /2020/03/15/why-i-use-docker-en/
1013
---
1114

1215
# My Honest Review After Using Docker for Every Project for 2 Years

_posts/2020-03-15-why-i-use-docker-ja.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ tags: [Docker, コンテナ, デプロイ, 開発環境, DevOps]
77
author: "Kevin Park"
88
lang: ja
99
excerpt: "2年前からすべてのプロジェクトをDocker基盤に切り替えました。導入障壁が低くてデプロイも楽ですが、本当にメリットだけでしょうか?"
10+
permalink: /ja/:year/:month/:day/:title/
11+
redirect_from:
12+
- /2020/03/15/why-i-use-docker-ja/
1013
---
1114

1215
# Dockerを2年間すべてのプロジェクトで使ってみた正直な感想

_posts/2020-03-16-developer-laziness-burnout-en.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ tags: [Developer, Burnout, Laziness, Growth, Experience]
77
author: "Kevin Park"
88
lang: en
99
excerpt: "I still love coding, but my hands just won't move. The architecture is all planned out in my head, yet execution feels impossible. Am I the only one?"
10+
permalink: /en/:year/:month/:day/:title/
11+
redirect_from:
12+
- /2020/03/16/developer-laziness-burnout-en/
1013
---
1114

1215
# When Coding Is Fun But Your Hands Won't Move

_posts/2020-03-16-developer-laziness-burnout-ja.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ tags: [開発者, バーンアウト, 怠惰, 自己成長, 開発経験]
77
author: "Kevin Park"
88
lang: ja
99
excerpt: "開発が嫌いになったわけじゃないのに手が動かない。頭の中では設計が完了しているのに実行できない。これって自分だけでしょうか?"
10+
permalink: /ja/:year/:month/:day/:title/
11+
redirect_from:
12+
- /2020/03/16/developer-laziness-burnout-ja/
1013
---
1114

1215
# 開発は楽しいのに手が動かない

_posts/2020-04-20-cloud-vs-onpremise-server-en.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ tags: [Server, Cloud, AWS, OnPremise, IDC, Migration]
77
author: "Kevin Park"
88
lang: en
99
excerpt: "New projects go to the cloud. Old ones stay on IDC servers. I keep telling myself I'll migrate them... but somehow never do."
10+
permalink: /en/:year/:month/:day/:title/
11+
redirect_from:
12+
- /2020/04/20/cloud-vs-onpremise-server-en/
1013
---
1114

1215
# The Transition From On-Premise to Cloud

_posts/2020-04-20-cloud-vs-onpremise-server-ja.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ tags: [サーバー, クラウド, AWS, オンプレミス, IDC, マイグレー
77
author: "Kevin Park"
88
lang: ja
99
excerpt: "新しいプロジェクトはクラウド、既存のものはIDCそのまま。毎回移行しようと思いつつ応急処置だけして先延ばしにしている。"
10+
permalink: /ja/:year/:month/:day/:title/
11+
redirect_from:
12+
- /2020/04/20/cloud-vs-onpremise-server-ja/
1013
---
1114

1215
# オンプレミスからクラウドへの過渡期

_posts/2020-04-21-mysql-uuid-usage-en.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ tags: [MySQL, UUID, Security, Database, PHP]
77
author: "Kevin Park"
88
lang: en
99
excerpt: "Using auto_increment PKs directly in URLs gets flagged in every security audit. But replacing all PKs with UUIDs is wildly impractical. Here's the realistic middle ground."
10+
permalink: /en/:year/:month/:day/:title/
11+
redirect_from:
12+
- /2020/04/21/mysql-uuid-usage-en/
1013
---
1114

1215
# Why You Shouldn't Expose Auto Increment PKs in URLs

_posts/2020-04-21-mysql-uuid-usage-ja.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ tags: [MySQL, UUID, セキュリティ, データベース, PHP]
77
author: "Kevin Park"
88
lang: ja
99
excerpt: "auto_incrementのPKをそのままURLに使うと、セキュリティ監査で毎回指摘される。かといってPKを全部UUIDに変えるのは非効率すぎる。現実的な妥協案をまとめました。"
10+
permalink: /ja/:year/:month/:day/:title/
11+
redirect_from:
12+
- /2020/04/21/mysql-uuid-usage-ja/
1013
---
1114

1215
# Auto Increment PKをURLに露出してはいけない理由

0 commit comments

Comments
 (0)