Loading...
Loading...
Compare original and translation side by side
.claude/product-marketing-context.md.cursor/product-marketing-context.md.claude/product-marketing-context.md.cursor/product-marketing-context.md| Principle | Guideline |
|---|---|
| Depth | Important pages within 3–4 clicks from homepage |
| Orphan pages | Add internal links to pages with no incoming links; see internal-links for link strategy |
| Hierarchy | Logical structure; hub pages link to content |
| 原则 | 指南 |
|---|---|
| 层级深度 | 重要页面需在首页3–4次点击范围内可到达 |
| 孤立页面 | 为无入站链接的页面添加内部链接;可参考internal-links技能获取链接策略 |
| 层级结构 | 构建合理逻辑结构;枢纽页面链接至相关内容 |
| Requirement | Practice |
|---|---|
| Component pages | Chunk content into paginated pages accessible without JavaScript |
| Full URLs | Each page has unique URL (e.g. |
| No overlap | Each item listed once in series; no duplication across pages |
| Direct access | URL works in new tab; no cookie/history dependency |
| pushState/replaceState | Update URL as user scrolls; enables back/forward, shareable links |
| 404 for out-of-bounds | |
| 要求 | 实践方案 |
|---|---|
| 组件化页面 | 将内容拆分为无需JavaScript即可访问的分页页面 |
| 独立URL | 每个分页页面拥有唯一URL(例如 |
| 无内容重叠 | 每个内容项仅在一个分页中出现;避免跨页面重复 |
| 直接访问 | URL可在新标签页中正常打开;无需依赖Cookie或浏览历史 |
| pushState/replaceState | 用户滚动时更新URL;支持前进/后退、可分享链接 |
| 越界返回404 | 当仅存在998个页面时, |
rel="prev"rel="next"rel="prev"rel="next"| Issue | Check |
|---|---|
| Redirect chains | Update links to point directly to final URL |
| Broken links | 301 or remove; audit internal and external |
| Orphan pages | Add internal links from hub or navigation; see internal-links for strategy |
| Infinite scroll | Provide paginated component pages; or replace with pagination for key content; see above |
| 问题 | 检查与修复方案 |
|---|---|
| 重定向链 | 更新链接,直接指向最终URL |
| 失效链接 | 使用301重定向或移除;审计内部和外部链接 |
| 孤立页面 | 从枢纽页面或导航中添加内部链接;可参考internal-links技能获取策略 |
| 无限滚动 | 提供分页组件页面;或为核心内容替换为分页;详见上述方案 |