本文へスキップ
Skillpedia
デプロイとクラウド(DevOps)75k · #2932

lowercase

できること

このスキルは、サイトのウェブアドレスが小文字だけで統一されているかを確認し、大文字のバージョンが小文字へリダイレクトされるようにします。ルーティングを設定するサイト運営者や開発者向けです。

使う場面

  • ✓サイトのアドレスが小文字で統一されているか確認してほしいとき。
  • ✓新しいサイトのルーティングを設定していて、大文字による重複ページを防ぎたいとき。
  • ✓大文字のページが正しくリダイレクトされず、恒久的なリダイレクトの修正が必要なとき。

スキルのリンク

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/lowercase/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/lowercase/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“サイトのURLがすべて小文字になり、大文字のものが小文字へリダイレクトされるようにしてもらえますか。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは、リンクとルーティングの大文字を探し、サーバーやフレームワークで、アドレスが小文字に統一されるように設定します。さらに、古い大文字のアドレスから 301 リダイレクトを追加します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Use lowercase URLs

Mixed-case URLs can create duplicate content—search engines may index both /Product and /product as separate pages, splitting link equity and diluting rankings.

Quick Reference

  • URLs should be entirely lowercase to prevent duplicate content issues
  • Most web servers treat /Page and /page as different URLs, creating duplicates
  • Redirect uppercase and mixed-case URLs to their lowercase equivalents with 301
  • Apply lowercasing in your server config or framework router, not ad hoc

Check

Scan the site's internal links and server-side routes for URLs containing uppercase letters. Check HTTP response codes for uppercase variants of key URLs to confirm whether they redirect (301) to lowercase.

Fix

Configure your server or framework to normalize all incoming URLs to lowercase before routing. Add 301 redirects from any existing uppercase URLs to their lowercase equivalents. Update internal links and sitemaps to use only lowercase URLs.

Explain

URL case matters for SEO because case-sensitive servers treat /Page and /page as different resources, creating duplicate content. Even on case-insensitive servers, inconsistency confuses crawlers and splits PageRank across URL variants.

Code Review

Scan the site's route definitions, server configuration, and internal links for uppercase letters in URL paths. Test key URLs in uppercase and mixed case — verify they return 301 to the lowercase version, not 200. Check the sitemap for any uppercase <loc> entries. Verify framework router is configured to normalize URL case.


For full implementation details, code examples, and framework-specific guidance, see references/rule.md.

Rule page: https://frontendchecklist.io/rules/seo/lowercase

よくある質問

大文字はSEOにとってなぜ重要なのですか?

一部のサーバーは /Page と /page を別のページとして扱うため、検索の評価が分散してしまうことがあります。

コードで設定すべきですか、手作業で直すべきですか?

このスキルは、URLを一つずつ直すのではなく、サーバーの設定またはフレームワークのルーターで設定することを勧めています。

内部リンクはどうすればよいですか?

内部リンクとサイトマップも更新し、小文字のアドレスだけを使うよう勧めています。

詳細

作者による元の説明

Use when auditing URL structure or configuring a new site's routing. Applies to any server or framework that allows case-insensitive file systems (Linux servers are case-sensitive by default).

repo: thedaviddias/Front-End-Checklist

人気

GitHubのスター
75k
ランキング
#2932
ライセンス
MIT
更新日
2026/10/31

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル