Skip to content
Skillpedia
SEO75k · #3030

special-chars

What it does

This skill checks URL paths for spaces, symbols, and non-English characters that cause crawling problems or duplicate addresses. It is for site owners and developers whose content systems generate many addresses automatically.

When to use it

  • ✓When you ask the agent to check your web addresses for spaces or unusual symbols.
  • ✓When the same page appears under more than one encoded address.
  • ✓When your content system creates addresses from titles in other languages.

Skill link

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

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/special-chars/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Some of my page addresses have spaces and symbols in them, and I think they cause duplicates. Can you check and clean them up?”

5 new skills a week. 1 minute to read.

How it works

The agent scans URL paths for characters outside the safe set and flags spaces, reserved symbols, and unencoded non-English letters. It updates the URL generation rules to replace spaces with hyphens and sets redirects from the old addresses.

Technical content (original SKILL.md)

Original text by the author, straight from 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

FAQ

Why are spaces a problem in URLs?

The skill says spaces must be encoded as %20, and inconsistent encoding can create duplicate pages.

Do non-English letters have to be removed?

No. The skill says they should be percent-encoded, though modern browsers show them correctly.

Will I need redirects?

Yes, the skill suggests redirects from problematic old URLs to clean new ones.

Details

Original description by the author

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

Popularity

GitHub stars
75k
Ranking position
#3030
License
MIT
Updated
10/31/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills