本文へスキップ
Skillpedia
SEO対策75k · #3030

special-chars

できること

このスキルは、URLのパスに含まれるスペース、記号、英語以外の文字を確認し、クロールの問題や重複したアドレスの原因を探します。コンテンツシステムが多くのアドレスを自動生成するサイト運営者や開発者向けです。

使う場面

  • ✓ページのアドレスにスペースや珍しい記号がないか確認するようエージェントに頼むとき。
  • ✓同じページが、エンコードの違う複数のアドレスで表示されているとき。
  • ✓コンテンツシステムがほかの言語のタイトルからアドレスを作っているとき。

スキルのリンク

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

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

使い方

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

貼り付け用メッセージ

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

AIへの頼み方の例

“私のページのアドレスの一部にはスペースや記号が含まれていて、重複の原因になっていると思います。確認して、整理してください。”

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

仕組み

エージェントは、URLのパスを安全な文字の集合と照らし、スペース、予約された記号、エンコードされていない英語以外の文字を指摘します。スペースをハイフンに置き換えるようURL生成のルールを更新し、古いアドレスからのリダイレクトを設定します。

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

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

URL Special Characters

Special characters in URL paths cause inconsistent crawling, broken links when shared, and canonicalization failures when different systems encode them differently.

Quick Reference

  • URL paths should contain only unreserved characters: A-Z, a-z, 0-9, -, _, ., ~
  • Spaces must be encoded as %20 (not +, which is query-string syntax)
  • Characters like #, ?, &, = have reserved meaning in URLs and must be percent-encoded in path segments
  • Non-ASCII characters (accented letters, CJK) should be percent-encoded in URLs, though modern browsers decode them for display

Check

Scan all crawled URL paths for characters outside [A-Za-z0-9\-_./~]. Flag URLs containing spaces (%20 or literal), special symbols (#, ?, &, =, + in paths), or unencoded non-ASCII characters. Check if different encodings of the same URL return separate 200 responses.

Fix

Update the URL generation logic in your CMS or framework to strip or replace special characters. Replace spaces with hyphens. Percent-encode any reserved characters that must appear in paths. Set up redirects from problematic old URLs to clean new slugs.

Explain

Explain the difference between reserved and unreserved characters in RFC 3986, how browsers and crawlers handle inconsistent percent-encoding, and why special characters in paths create duplicate content risks.

Code Review

Review metadata generation, rendered HTML, structured data, and response headers related to URL Special Characters. Flag exact routes or templates where search-facing output violates the rule, and describe how to verify the final page output.


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

Rule page: https://frontendchecklist.io/rules/seo/special-chars

よくある質問

URLでスペースが問題なのはなぜですか?

このスキルによると、スペースは%20としてエンコードする必要があり、エンコードが一貫していないと重複したページが生まれることがあるからです。

英語以外の文字は取り除く必要がありますか?

いいえ。このスキルによると、パーセントエンコードすべきですが、現在のブラウザーは正しく表示できます。

リダイレクトは必要ですか?

はい。このスキルは、問題のある古いURLから、きれいな新しいURLへのリダイレクトを勧めています。

詳細

作者による元の説明

Use when applies to any site with user-generated slugs, CMS-generated URLs, or content in non-English languages. Use when auditing URLs for crawl errors or canonicalization issues.

repo: thedaviddias/Front-End-Checklist

人気

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

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

0

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

コメント

  • …

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

似ているスキル