跳到正文
Skillpedia
SEO75k · #2971

parameters

它能做什么

这个技能检查用于筛选、排序和追踪的网址参数,并设置指向首选地址的规范标签。它面向拥有大量筛选页面的电商和内容网站所有者。

适用场景

  • ✓你请智能体检查筛选、排序和追踪代码如何影响网址的时候。
  • ✓你的网站由同一组内容生成了许多几乎相同的页面的时候。
  • ✓搜索引擎抓取了许多参数版本,而你希望把抓取集中到主要页面上的时候。

技能链接

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

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/parameters/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“我的商店因筛选条件和追踪代码产生了许多重复页面。请帮我为搜索引擎控制这些网址吗?”

每周 5 个新技能,1 分钟读完。

工作原理

智能体会识别正在使用的参数,并检查每个页面是否有规范标签。它会从规范地址中去掉追踪参数,并将筛选版本指向基础页面;如果参数确实会有意义地改变内容,则保持它们的一致性。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Limit unnecessary URL parameters

Uncontrolled URL parameters generate duplicate content that wastes crawl budget and splits PageRank across URL variants, reducing the ranking potential of the canonical-url page.

Quick Reference

  • URL parameters can create thousands of duplicate URLs from a single page
  • Use canonical tags to consolidate parametric URL variants to a single URL
  • Strip tracking parameters (utm_*, fbclid, gclid) before setting the canonical-url
  • For critical parameters (page, sort), include them in the canonical URL

Check

Identify URL parameters in use across the site (filter, sort, color, size, utm_*, page, etc.). For each parameter type, check whether the page has a canonical tag. Verify that tracking-only parameters (utm_source, fbclid, gclid) are excluded from canonical URLs. Identify URLs with 3+ parameters and review for potential crawl budget waste.

Fix

Add canonical tags to parameter-based URLs pointing to the parameter-free or preferred URL. Remove tracking parameters from canonical tags. For sorting/filtering parameters that change content meaningfully (page=2, sort=price), either canonicalize to the base URL or self-canonicalize consistently.

Explain

URL parameters like ?color=red&size=large&sort=price&utm_source=google can generate thousands of unique URLs for the same underlying content. Without canonical tags, Googlebot crawls all variants, treating each as a separate page. This wastes crawl budget, creates duplicate content, and dilutes PageRank.

Code Review

Enumerate all URL parameter patterns used across the site. For each parameter type, check if pages with those parameters have canonical tags. Verify tracking parameters (utm_*, fbclid, gclid) are stripped from canonical URLs. Check that filter/sort parameter URLs either self-canonicalize or canonical-url to the base URL. Report the total number of unique parameter combinations crawlable.


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

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

常见问题

哪些参数只用于追踪?

这个技能列举了 utm_source、fbclid 和 gclid 等例子,它们应从规范地址中去掉。

页码或排序参数应该保留吗?

这个技能说,当参数有意义地改变内容时,例如页码,应将其保留在规范网址中。

这对抓取为什么重要?

许多参数组合会产生成千上万的重复网址,既浪费抓取资源,也会分散排名权重。

详情

作者的原始描述

Use when auditing URL structure or configuring search engine handling of filtered, sorted, or tracked URLs. Applies to e-commerce sites, filtered content directories, and any site appending tracking or session parameters.

repo: thedaviddias/Front-End-Checklist

热度

GitHub 星标
75k
排名
#2971
许可证
MIT
更新时间
2026/10/31

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能