Loading...
Loading...
When the user wants to optimize URL structure, fix URL issues, or plan URL hierarchy. Also use when the user mentions "URL structure," "URL optimization," "slug," "clean URLs," "URL hierarchy," "URL path," "permalink structure," "URL best practices," "dynamic URLs," or "URL parameters."
npx skill4agent add kostja94/marketing-skills url-structure.claude/product-marketing-context.md.cursor/product-marketing-context.md| Principle | Guideline |
|---|---|
| Readable | Use words, not IDs; |
| Short | Shorter is generally better; avoid unnecessary depth |
| Keyword | Include target keyword when natural |
| Lowercase | Use lowercase; avoid mixed case |
| Hyphens | Use hyphens to separate words: |
| Avoid | Special chars, query params for core content, session IDs |
| Pattern | Example | Use |
|---|---|---|
| Flat | | Simple sites |
| Category | | Content sites |
| Nested | | Deep hierarchies (keep shallow) |
| Pattern | Example |
|---|---|
| Path prefix | |
| Subdomain | |
| ccTLD | |
| Type | Example | Use |
|---|---|---|
| Static | | Direct file; best SEO; content stable |
| Dynamic | | Program-generated; avoid for indexable content |
| Pseudo-static | | Combines both; common in CMS |
| Rule | Prefer static or pseudo-static; if dynamic, keep params ≤2; use canonical-tag and robots-txt (Clean-param) |
.html.php.aspx/seo-guide/seo-guide.html| Scenario | Approach |
|---|---|
| UTM / tracking | Canonical to base URL; params in query string only |
| Search results | Canonical to search page; avoid indexing result URLs |
| Filters / sort | Canonical to base; or robots-txt Clean-param |
| Session IDs | Use cookies; never in indexable URLs |
| Scenario | Focus |
|---|---|
| New site | Plan hierarchy upfront; avoid later restructuring |
| Migration | 301 mapping; canonical; see canonical-tag |
| Large site | Dynamic URLs, params, multi-language — canonical + robots |
| SEO audit | Check structure, params, canonical consistency |
| Issue | Fix |
|---|---|
| Long URLs | Shorten; remove redundant words |
| Dynamic params | Use canonical; clean params in robots (Yandex Clean-param) |
| Mixed case | Redirect to lowercase |
| Changed URLs | 301 redirect old to new |