lowercase
できること
このスキルは、サイトのウェブアドレスが小文字だけで統一されているかを確認し、大文字のバージョンが小文字へリダイレクトされるようにします。ルーティングを設定するサイト運営者や開発者向けです。
使う場面
- ✓サイトのアドレスが小文字で統一されているか確認してほしいとき。
- ✓新しいサイトのルーティングを設定していて、大文字による重複ページを防ぎたいとき。
- ✓大文字のページが正しくリダイレクトされず、恒久的なリダイレクトの修正が必要なとき。
スキルのリンク
https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/lowercase/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
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.
よくある質問
大文字は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).
人気
- GitHubのスター
- 75k
- ランキング
- #2932
- ライセンス
- MIT
- 更新日
- 2026/10/31
コメント
- …
このリポジトリの他のスキル
frontendchecklist
75kコマンドラインツールを使って、フロントエンドのコードとライブページを、アクセシビリティ、速度、SEO、セキュリティに関する380以上のルールと照らし合わせて確認します。
frontend-checklist-global
75kフロントエンドのプロジェクトを、386のFront-End Checklistのルールすべてと照らし合わせて監査し、見つかった問題ごとに具体的な修正方法を示します。
404-page
75k見つからないページの画面に役立つリンクがあり、本物の404ステータスを返すかを確認し、迷った訪問者が目的のページを見つけられるようにします。
about-page
75kサイトの運営者が誰かを説明する、分かりやすいAboutページがあるかを確認し、訪問者と検索エンジンからの信頼を高めます。
似ているスキル
openclaw-update
394k既存のOpenClaw Gatewayを更新するようエージェントを支援します。インストール方法に合った更新方法を選び、セッションを動かし続けます。
diagnose-gateway
394k設定、チャンネル、ポートを確認して、OpenClaw Gatewayが失敗している理由を、何も変更せずに突き止めるようエージェントを支援します。
crabbox-apps
394k一時的なクラウドマシン上でアプリを開いて実行し、そのビューをチャットのサイドパネルに表示するようエージェントを支援します。