Upgrade to Pro — share decks privately, control downloads, hide ads and more …

SAMANSA の検索結果を 7 倍にした 話

SAMANSA の検索結果を 7 倍にした 話

Avatar for New!!梅キャン勉強会

New!!梅キャン勉強会

November 27, 2025

Transcript

  1. 1.1. 遠藤 哲(えんどう さとる) 1. 自己紹介 • コバケン 院 2

    回生 • 株式会社 SAMANSA でフロントエ ンドエンジニアのインターン中 • ← ハロウィンのゼミでした仮装 遠藤 哲 SAMANSA の検索結果を 7 倍にした話 2025-11-27 2 / 17
  2. 1.1. 遠藤 哲(えんどう さとる) 1. 自己紹介 • コバケン 院 2

    回生 • 株式会社 SAMANSA でフロントエ ンドエンジニアのインターン中 • ← ハロウィンのゼミでした仮装 抵抗器 100K オーム誤差 10% 遠藤 哲 SAMANSA の検索結果を 7 倍にした話 2025-11-27 2 / 17
  3. 2.1. 課題 2. SEO は SAMANSA の課題 • SAMANSA は日本語、英語、タイ語、韓国語、インドネシア語に対応

    ‣ 検索結果も多言語に対応する必要がある • SAMANSA + 作品名で検索しても上位に出てこない ‣ SNS でバズっても検索結果に出てこないとユーザーが流入できない → 売り上げが伸びない 遠藤 哲 SAMANSA の検索結果を 7 倍にした話 2025-11-27 5 / 17
  4. 3.1. Google Search Console 3. まずは現状調査 • Google が提供する無料の SEO

    解析ツール ‣ どのくらいインデックス(Google のボットが登録した)ページ数がある か確認 → コンテンツの数が 500 程度なのに 200 ページくらいしかインデックス されていなかった • そもそもサイトマップすらない 遠藤 哲 SAMANSA の検索結果を 7 倍にした話 2025-11-27 7 / 17
  5. 3.2. 多言語の SEO 対応 3. まずは現状調査 多言語対応しているサイトでは、URL に言語情報を含めることが重要 • 例:

    example.com/ja/ , example.com/en/ • 参考: https://developers.google.com/search/docs/specialty/ international/managing-multi-regional-sites 遠藤 哲 SAMANSA の検索結果を 7 倍にした話 2025-11-27 8 / 17
  6. 3.2. 多言語の SEO 対応 3. まずは現状調査 多言語対応しているサイトでは、URL に言語情報を含めることが重要 • 例:

    example.com/ja/ , example.com/en/ • 参考: https://developers.google.com/search/docs/specialty/ international/managing-multi-regional-sites ほなsamansa.com/ja にしたらええんやな 遠藤 哲 SAMANSA の検索結果を 7 倍にした話 2025-11-27 8 / 17
  7. 3.2. 多言語の SEO 対応 3. まずは現状調査 多言語対応しているサイトでは、URL に言語情報を含めることが重要 • 例:

    example.com/ja/ , example.com/en/ • 参考: https://developers.google.com/search/docs/specialty/ international/managing-multi-regional-sites ほなsamansa.com/ja にしたらええんやな → 今まで外部の記事とか X で貼ってきた リンクの OGP が壊れてしまう ❌ 遠藤 哲 SAMANSA の検索結果を 7 倍にした話 2025-11-27 8 / 17
  8. 3.2. 多言語の SEO 対応 3. まずは現状調査 多言語対応しているサイトでは、URL に言語情報を含めることが重要 • 例:

    example.com/ja/ , example.com/en/ • 参考: https://developers.google.com/search/docs/specialty/ international/managing-multi-regional-sites ほなsamansa.com/ja にしたらええんやな → 今まで外部の記事とか X で貼ってきた リンクの OGP が壊れてしまう ❌ 遠藤 哲 SAMANSA の検索結果を 7 倍にした話 2025-11-27 8 / 17
  9. 4.1. サイトマップとは 4. サイトマップが 9 割 Google Bot にサイトの構造を伝える XML

    ファイル LP とかによくあるサイトマップ ホンダの公式ホームページから引用 サイトマップの XML ファイルの例 ホンダの公式ホームページから引用 遠藤 哲 SAMANSA の検索結果を 7 倍にした話 2025-11-27 11 / 17
  10. 4.2. サイトマップ書き出し 4. サイトマップが 9 割 import type { MetadataRoute

    } from 'next' export default function sitemap(): MetadataRoute.Sitemap { ... return data.allOriginalVideos.map((video: any) => ({ url: `https://${lang}.samansa.com/videos/${video.id}`, lastModified: new Date(video.updatedAt), changeFrequency: 'monthly', priority: 0.5, videos: [ { title: escapeXml(video.title), thumbnail_loc: escapeXml(video.portraitThumbnail), description: escapeXml(video.description), }, ], alternates: { languages: { en: `https://en.samansa.com/videos/${video.id}`, id: `https://id.samansa.com/videos/${video.id}`, ja: `https://ja.samansa.com/videos/${video.id}`, ko: `https://ko.samansa.com/videos/${video.id}`, th: `https://th.samansa.com/videos/${video.id}`, }, }, })) } Next.js でのサイトマップ生成コード 例 <url> <loc>https://en.samansa.com/videos/2531</loc> <xhtml:link rel="alternate" hreflang="en" href="https://en.samansa.com/ videos/2531" /> <xhtml:link rel="alternate" hreflang="id" href="https://id.samansa.com/ videos/2531" /> <xhtml:link rel="alternate" hreflang="ja" href="https://ja.samansa.com/ videos/2531" /> <xhtml:link rel="alternate" hreflang="ko" href="https://ko.samansa.com/ videos/2531" /> <xhtml:link rel="alternate" hreflang="th" href="https://th.samansa.com/ videos/2531" /> <video:video> <video:title>Unclean</video:title> <video:thumbnail_loc>https://dxd8aflpyb27s.cloudfront.net/translations/ thumbnails/11840/Unclean_ENV.jpg</video:thumbnail_loc> <video:description>During his night shift, a public pool janitor becomes the target of an unseen entity.</video:description> </video:video> <lastmod>2025-11-21T04:01:31.000Z</lastmod> <changefreq>monthly</changefreq> <priority>0.5</priority> </url> 生成されたサイトマップの一部 遠藤 哲 SAMANSA の検索結果を 7 倍にした話 2025-11-27 12 / 17
  11. 5.1. インデックス数の変化 5. 結果 357 ページ → 2,707 ページ (約

    7 倍) 🎉 遠藤 哲 SAMANSA の検索結果を 7 倍にした話 2025-11-27 14 / 17
  12. 6.1. まとめ 6. まとめ • まず行うべきは Sitemap • 多言語アプリの場合は xml

    の alternates タグを活用 遠藤 哲 SAMANSA の検索結果を 7 倍にした話 2025-11-27 17 / 17
  13. END