seo-optimizer

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

SEO Optimizer

SEO优化完全指南

Comprehensive guidance for search engine optimization across content, technical implementation, and strategic planning to improve organic search visibility and rankings.
本指南提供内容、技术实施和战略规划全方面的搜索引擎优化(SEO)综合指导,旨在提升自然搜索的曝光度和排名。

When to Use This Skill

何时使用本技能

Use this skill when:
  • Optimizing website content for search engines
  • Conducting keyword research and analysis
  • Implementing technical SEO improvements
  • Creating SEO-friendly meta tags and descriptions
  • Auditing websites for SEO issues
  • Improving Core Web Vitals and page speed
  • Implementing schema markup (structured data)
  • Planning content strategy for organic traffic
在以下场景使用本技能:
  • 为搜索引擎优化网站内容
  • 进行关键词研究与分析
  • 实施技术SEO改进措施
  • 创建对SEO友好的元标签和描述
  • 审核网站的SEO问题
  • 提升Core Web Vitals指标和页面速度
  • 实施Schema标记(结构化数据)
  • 规划自然流量内容策略

SEO Fundamentals

SEO基础

1. Keyword Research & Strategy

1. 关键词研究与策略

Primary Keyword Selection:
  • Focus on search intent (informational, navigational, transactional, commercial)
  • Balance search volume with competition
  • Consider keyword difficulty and ranking potential
  • Target long-tail keywords for quick wins
Keyword Research Process:
1. Identify seed keywords from business objectives
2. Use tools to expand keyword list (Google Keyword Planner, Ahrefs, SEMrush)
3. Analyze search volume and difficulty
4. Group keywords by topic clusters
5. Map keywords to content types and pages
6. Prioritize based on potential ROI
Content Optimization Formula:
  • Primary keyword: 1-2% density (natural placement)
  • Include in: Title tag, H1, first paragraph, URL, meta description
  • Use semantic variations and related terms
  • Maintain natural readability (don't keyword stuff)
核心关键词选择:
  • 关注搜索意图(信息型、导航型、交易型、商业型)
  • 平衡搜索量与竞争度
  • 考虑关键词难度和排名潜力
  • 瞄准长尾关键词以快速获得成效
关键词研究流程:
1. 根据业务目标确定种子关键词
2. 使用工具拓展关键词列表(Google Keyword Planner、Ahrefs、SEMrush)
3. 分析搜索量和难度
4. 按主题集群对关键词分组
5. 将关键词映射到对应内容类型和页面
6. 根据潜在ROI优先级排序
内容优化公式:
  • 核心关键词:1-2%的密度(自然植入)
  • 放置位置:标题标签、H1、第一段、URL、元描述
  • 使用语义变体和相关术语
  • 保持自然可读性(避免关键词堆砌)

2. On-Page SEO

2. 页面内SEO

Title Tag Optimization:
html
<!-- Good: Descriptive, includes keyword, under 60 characters -->
<title>Ultimate Guide to React Hooks - Learn useEffect & useState</title>

<!-- Bad: Too long, keyword stuffing, generic -->
<title>React Hooks Guide React Hooks Tutorial React Hooks Examples Learn React</title>
Best Practices:
  • Keep under 60 characters (displayed in SERPs)
  • Place primary keyword near the beginning
  • Include brand name if space permits
  • Make compelling and click-worthy
  • Unique for every page
Meta Description:
html
<!-- Good: Compelling, includes keywords, call-to-action, 150-160 chars -->
<meta name="description" content="Master React Hooks with our comprehensive guide. Learn useState, useEffect, and custom hooks with practical examples. Start building better React apps today.">

<!-- Bad: Too short, no value proposition -->
<meta name="description" content="React Hooks guide and tutorial">
Header Structure:
html
<!-- Proper hierarchy -->
<h1>Main Page Title (Primary Keyword)</h1>
  <h2>Section Heading (Related Keywords)</h2>
    <h3>Subsection</h3>
    <h3>Subsection</h3>
  <h2>Another Section</h2>
    <h3>Subsection</h3>
URL Structure:
✅ Good URLs:
- /blog/react-hooks-guide
- /products/running-shoes
- /learn/javascript-async-await

❌ Bad URLs:
- /blog?p=12345
- /products/cat-1/subcat-2/item-999
- /page.php?id=abc&ref=xyz
Image Optimization:
html
<!-- Optimized image -->
<img
  src="/images/react-hooks-diagram-800w.webp"
  alt="React Hooks lifecycle diagram showing useState and useEffect"
  width="800"
  height="600"
  loading="lazy"
/>
Best Practices:
  • Use descriptive, keyword-rich alt text
  • Compress images (WebP format preferred)
  • Specify dimensions to prevent layout shift
  • Use lazy loading for below-fold images
  • Include captions when relevant
标题标签优化:
html
<!-- 优质示例:描述清晰、包含关键词、60字符以内 -->
<title>Ultimate Guide to React Hooks - Learn useEffect & useState</title>

<!-- 不良示例:过长、关键词堆砌、通用化 -->
<title>React Hooks Guide React Hooks Tutorial React Hooks Examples Learn React</title>
最佳实践:
  • 长度控制在60字符以内(适配搜索引擎结果页SERPs显示)
  • 将核心关键词放在靠前位置
  • 如有空间可加入品牌名称
  • 文案要有吸引力,提升点击率
  • 每个页面使用独特的标题标签
元描述:
html
<!-- 优质示例:有吸引力、包含关键词、带行动号召、150-160字符 -->
<meta name="description" content="Master React Hooks with our comprehensive guide. Learn useState, useEffect, and custom hooks with practical examples. Start building better React apps today.">

<!-- 不良示例:过短、无价值主张 -->
<meta name="description" content="React Hooks guide and tutorial">
标题结构:
html
<!-- 合理的层级结构 -->
<h1>主页面标题(核心关键词)</h1>
  <h2>章节标题(相关关键词)</h2>
    <h3>子章节</h3>
    <h3>子章节</h3>
  <h2>另一章节</h2>
    <h3>子章节</h3>
URL结构:
✅ 优质URL:
- /blog/react-hooks-guide
- /products/running-shoes
- /learn/javascript-async-await

❌ 不良URL:
- /blog?p=12345
- /products/cat-1/subcat-2/item-999
- /page.php?id=abc&ref=xyz
图片优化:
html
<!-- 优化后的图片 -->
<img
  src="/images/react-hooks-diagram-800w.webp"
  alt="React Hooks lifecycle diagram showing useState and useEffect"
  width="800"
  height="600"
  loading="lazy"
/>
最佳实践:
  • 使用描述性、含关键词的alt文本
  • 压缩图片(优先使用WebP格式)
  • 指定尺寸以避免布局偏移
  • 对首屏以下图片使用懒加载
  • 相关时添加图片说明

3. Content Quality

3. 内容质量

E-E-A-T Principles (Experience, Expertise, Authoritativeness, Trust):
  • Demonstrate author expertise with credentials
  • Cite authoritative sources
  • Keep content accurate and up-to-date
  • Show real experience and original insights
  • Include author bios and bylines
Content Structure for SEO:
markdown
undefined
E-E-A-T原则(经验、专业度、权威性、可信度):
  • 通过资质证明作者专业度
  • 引用权威来源
  • 保持内容准确且与时俱进
  • 展示真实经验和原创见解
  • 包含作者简介和署名
SEO友好的内容结构:
markdown
undefined

Main Title (H1) - Primary Keyword

主标题(H1)- 核心关键词

Brief introduction with primary keyword in first 100 words.
开篇100字内包含核心关键词的简短介绍。

What is [Topic]? (H2) - Answer core question

什么是[主题]?(H2)- 解答核心问题

Comprehensive explanation with examples.
带示例的全面解释。

Why [Topic] Matters (H2) - Value proposition

[主题]的重要性(H2)- 价值主张

Benefits and use cases.
优势和使用场景。

How to [Action] (H2) - Practical guide

如何[操作](H2)- 实操指南

Step-by-step instructions with visuals.
带可视化内容的分步说明。

Best Practices (H2) - Advanced tips

最佳实践(H2)- 进阶技巧

Expert recommendations.
专家建议。

Common Mistakes to Avoid (H2)

需避免的常见错误(H2)

Troubleshooting and pitfalls.
故障排除和注意事项。

Conclusion

结论

Summary and call-to-action.

**Content Length Guidelines:**
- Blog posts: 1,500-2,500 words (comprehensive topics)
- Product pages: 300-500 words minimum
- Category pages: 500-1,000 words
- Homepage: 500+ words
总结和行动号召。

**内容长度指南:**
- 博客文章:1500-2500字(针对深度主题)
- 产品页面:至少300-500字
- 分类页面:500-1000字
- 首页:500字以上

4. Technical SEO

4. 技术SEO

Schema Markup (Structured Data):
json
{
  "@context": "https://schema.org",
  "@type": "Article",
  "headline": "Complete Guide to React Hooks",
  "image": "https://example.com/images/react-hooks.jpg",
  "datePublished": "2024-01-15",
  "dateModified": "2024-02-01",
  "author": {
    "@type": "Person",
    "name": "Jane Developer"
  },
  "publisher": {
    "@type": "Organization",
    "name": "Tech Academy",
    "logo": {
      "@type": "ImageObject",
      "url": "https://example.com/logo.png"
    }
  }
}
Common Schema Types:
  • Article (blog posts)
  • Product (e-commerce)
  • FAQ (question/answer pages)
  • HowTo (tutorials and guides)
  • Organization (company info)
  • LocalBusiness (location-based businesses)
  • BreadcrumbList (navigation paths)
  • Review/AggregateRating (ratings and reviews)
Robots.txt Configuration:
User-agent: *
Disallow: /admin/
Disallow: /private/
Disallow: /api/
Allow: /api/public/

Sitemap: https://example.com/sitemap.xml
XML Sitemap Structure:
xml
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url>
    <loc>https://example.com/</loc>
    <lastmod>2024-01-15</lastmod>
    <changefreq>weekly</changefreq>
    <priority>1.0</priority>
  </url>
  <url>
    <loc>https://example.com/blog/react-hooks-guide</loc>
    <lastmod>2024-01-10</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>
</urlset>
Canonical Tags:
html
<!-- Prevent duplicate content issues -->
<link rel="canonical" href="https://example.com/original-page">

<!-- Handle URL parameters -->
<link rel="canonical" href="https://example.com/products/shoes">
<!-- Even if accessed via: /products/shoes?color=red&size=10 -->
Schema标记(结构化数据):
json
{
  "@context": "https://schema.org",
  "@type": "Article",
  "headline": "Complete Guide to React Hooks",
  "image": "https://example.com/images/react-hooks.jpg",
  "datePublished": "2024-01-15",
  "dateModified": "2024-02-01",
  "author": {
    "@type": "Person",
    "name": "Jane Developer"
  },
  "publisher": {
    "@type": "Organization",
    "name": "Tech Academy",
    "logo": {
      "@type": "ImageObject",
      "url": "https://example.com/logo.png"
    }
  }
}
常见Schema类型:
  • Article(博客文章)
  • Product(电商产品)
  • FAQ(问答页面)
  • HowTo(教程和指南)
  • Organization(企业信息)
  • LocalBusiness(本地商家)
  • BreadcrumbList(导航路径)
  • Review/AggregateRating(评分和评价)
Robots.txt配置:
User-agent: *
Disallow: /admin/
Disallow: /private/
Disallow: /api/
Allow: /api/public/

Sitemap: https://example.com/sitemap.xml
XML站点地图结构:
xml
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url>
    <loc>https://example.com/</loc>
    <lastmod>2024-01-15</lastmod>
    <changefreq>weekly</changefreq>
    <priority>1.0</priority>
  </url>
  <url>
    <loc>https://example.com/blog/react-hooks-guide</loc>
    <lastmod>2024-01-10</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>
</urlset>
规范标签:
html
<!-- 避免重复内容问题 -->
<link rel="canonical" href="https://example.com/original-page">

<!-- 处理URL参数 -->
<link rel="canonical" href="https://example.com/products/shoes">
<!-- 即使通过以下链接访问:/products/shoes?color=red&size=10 -->

5. Core Web Vitals

5. Core Web Vitals

Largest Contentful Paint (LCP) - Target: < 2.5s
  • Optimize images and videos
  • Use CDN for static assets
  • Minimize render-blocking resources
  • Implement lazy loading
First Input Delay (FID) - Target: < 100ms
  • Minimize JavaScript execution time
  • Break up long tasks
  • Use web workers for heavy computations
  • Defer non-critical JavaScript
Cumulative Layout Shift (CLS) - Target: < 0.1
  • Set size attributes on images and videos
  • Avoid inserting content above existing content
  • Use transform animations instead of layout-triggering properties
  • Reserve space for ads and embeds
Page Speed Optimization:
html
<!-- Preload critical resources -->
<link rel="preload" href="/fonts/main.woff2" as="font" crossorigin>

<!-- Defer non-critical CSS -->
<link rel="preload" href="/styles/non-critical.css" as="style" onload="this.onload=null;this.rel='stylesheet'">

<!-- Async/defer JavaScript -->
<script src="/js/analytics.js" async></script>
<script src="/js/main.js" defer></script>
Largest Contentful Paint (LCP) - 目标:< 2.5秒
  • 优化图片和视频
  • 为静态资源使用CDN
  • 减少渲染阻塞资源
  • 实现懒加载
First Input Delay (FID) - 目标:< 100毫秒
  • 减少JavaScript执行时间
  • 拆分长任务
  • 使用Web Worker处理繁重计算
  • 延迟非关键JavaScript
Cumulative Layout Shift (CLS) - 目标:< 0.1
  • 为图片和视频设置尺寸属性
  • 避免在现有内容上方插入新内容
  • 使用变换动画替代触发布局的属性
  • 为广告和嵌入内容预留空间
页面速度优化:
html
<!-- 预加载关键资源 -->
<link rel="preload" href="/fonts/main.woff2" as="font" crossorigin>

<!-- 延迟非关键CSS -->
<link rel="preload" href="/styles/non-critical.css" as="style" onload="this.onload=null;this.rel='stylesheet'">

<!-- 异步/延迟JavaScript -->
<script src="/js/analytics.js" async></script>
<script src="/js/main.js" defer></script>

6. Mobile SEO

6. 移动端SEO

Mobile-First Optimization:
  • Responsive design (mobile-friendly test passed)
  • Touch-friendly buttons (minimum 48x48px)
  • Readable font sizes (16px minimum)
  • Proper viewport configuration
  • Fast mobile page speed
Viewport Configuration:
html
<meta name="viewport" content="width=device-width, initial-scale=1">
移动端优先优化:
  • 响应式设计(通过移动端友好测试)
  • 触控友好的按钮(最小48x48像素)
  • 易读的字体大小(最小16像素)
  • 正确的视口配置
  • 快速的移动端页面速度
视口配置:
html
<meta name="viewport" content="width=device-width, initial-scale=1">

7. Internal Linking Strategy

7. 内部链接策略

Best Practices:
  • Use descriptive anchor text (avoid "click here")
  • Link to relevant, contextual pages
  • Maintain logical hierarchy and flow
  • Include 3-5 internal links per 1,000 words
  • Update old content with links to new content
Example:
markdown
Learn more about [advanced React patterns](/guides/react-patterns)
or check out our [useState hook tutorial](/tutorials/usestate-guide).
最佳实践:
  • 使用描述性锚文本(避免“点击这里”)
  • 链接到相关的上下文页面
  • 保持逻辑层级和流程
  • 每1000字包含3-5个内部链接
  • 更新旧内容,添加指向新内容的链接
示例:
markdown
了解更多[React进阶模式](/guides/react-patterns)
或查看我们的[useState钩子教程](/tutorials/usestate-guide)

SEO Content Checklist

SEO内容检查清单

Before Publishing:
  • Primary keyword in title tag (under 60 chars)
  • Meta description (150-160 chars, compelling)
  • H1 tag with primary keyword
  • URL slug optimized and readable
  • Images compressed with descriptive alt text
  • 3-5 internal links to relevant content
  • External links to authoritative sources
  • Content length appropriate for topic depth
  • Schema markup implemented
  • Mobile-friendly and responsive
  • Page speed optimized (< 3s load time)
  • No broken links
  • Canonical tag set correctly
  • Social sharing meta tags (Open Graph, Twitter Card)
发布前检查:
  • 标题标签包含核心关键词(60字符以内)
  • 元描述(150-160字符,有吸引力)
  • H1标签包含核心关键词
  • URL slug优化且易读
  • 图片已压缩且有描述性alt文本
  • 3-5个指向相关内容的内部链接
  • 指向权威来源的外部链接
  • 内容长度与主题深度匹配
  • 已实施Schema标记
  • 移动端友好且响应式
  • 页面速度优化(加载时间<3秒)
  • 无失效链接
  • 规范标签设置正确
  • 社交分享元标签(Open Graph、Twitter Card)

Advanced SEO Strategies

进阶SEO策略

Topic Clusters & Pillar Pages

主题集群与支柱页面

Structure:
Pillar Page: "Complete Guide to React"
  ├── Cluster: "React Hooks Tutorial"
  ├── Cluster: "React Context API Guide"
  ├── Cluster: "React Performance Optimization"
  └── Cluster: "React Testing Best Practices"
Implementation:
  • Create comprehensive pillar content (3,000+ words)
  • Develop 8-12 cluster articles supporting the pillar
  • Link all clusters back to pillar page
  • Link pillar page to all clusters
  • Use consistent keyword themes
结构:
支柱页面:“React完全指南”
  ├── 集群:“React Hooks教程”
  ├── 集群:“React Context API指南”
  ├── 集群:“React性能优化”
  └── 集群:“React测试最佳实践”
实施方法:
  • 创建全面的支柱内容(3000字以上)
  • 开发8-12篇支撑支柱内容的集群文章
  • 所有集群文章链接回支柱页面
  • 支柱页面链接到所有集群文章
  • 使用一致的关键词主题

Featured Snippet Optimization

精选摘要优化

Question-Based Content:
markdown
undefined
问答式内容:
markdown
undefined

What is React?

什么是React?

React is a JavaScript library for building user interfaces, developed by Facebook. It allows developers to create reusable UI components and efficiently update the DOM through a virtual DOM implementation.

**List-Based Content:**
```markdown
React是Facebook开发的用于构建用户界面的JavaScript库。它允许开发者创建可复用的UI组件,并通过虚拟DOM实现高效的DOM更新。

**列表式内容:**
```markdown

Top 5 React Best Practices

React五大最佳实践

  1. Use functional components with hooks
  2. Implement proper state management
  3. Optimize performance with React.memo
  4. Follow component composition patterns
  5. Write comprehensive tests

**Table-Based Content:**
| Framework | Performance | Learning Curve | Ecosystem |
|-----------|-------------|----------------|-----------|
| React     | Excellent   | Moderate       | Extensive |
| Vue       | Excellent   | Easy           | Growing   |
| Angular   | Good        | Steep          | Mature    |
  1. 使用带钩子的函数式组件
  2. 实施合适的状态管理
  3. 使用React.memo优化性能
  4. 遵循组件组合模式
  5. 编写全面的测试

**表格式内容:**
| 框架 | 性能 | 学习曲线 | 生态系统 |
|-----------|-------------|----------------|-----------|
| React     | Excellent   | Moderate       | Extensive |
| Vue       | Excellent   | Easy           | Growing   |
| Angular   | Good        | Steep          | Mature    |

Local SEO (for businesses with physical locations)

本地SEO(针对有实体门店的商家)

Google Business Profile Optimization:
  • Complete all business information
  • Regular posts and updates
  • Respond to reviews
  • Add high-quality photos
  • Verify business hours
Local Schema Markup:
json
{
  "@type": "LocalBusiness",
  "name": "Tech Solutions Inc",
  "address": {
    "@type": "PostalAddress",
    "streetAddress": "123 Main St",
    "addressLocality": "San Francisco",
    "addressRegion": "CA",
    "postalCode": "94102"
  },
  "telephone": "+1-415-555-0123"
}
Google商家资料优化:
  • 完善所有商家信息
  • 定期发布动态和更新
  • 回复评价
  • 添加高质量照片
  • 验证营业时间
本地Schema标记:
json
{
  "@type": "LocalBusiness",
  "name": "Tech Solutions Inc",
  "address": {
    "@type": "PostalAddress",
    "streetAddress": "123 Main St",
    "addressLocality": "San Francisco",
    "addressRegion": "CA",
    "postalCode": "94102"
  },
  "telephone": "+1-415-555-0123"
}

Monitoring & Analytics

监控与分析

Key Metrics to Track:
  • Organic traffic trends
  • Keyword rankings
  • Click-through rates (CTR)
  • Bounce rate and dwell time
  • Core Web Vitals scores
  • Backlink profile growth
  • Conversion rates from organic traffic
Tools:
  • Google Search Console (performance, indexing issues)
  • Google Analytics 4 (traffic, behavior, conversions)
  • PageSpeed Insights (Core Web Vitals)
  • Ahrefs/SEMrush (keywords, backlinks, competition)
  • Screaming Frog (technical audits)
When optimizing for SEO, prioritize user experience and value delivery. Search engines increasingly reward content that genuinely helps users and provides authoritative, trustworthy information.
需追踪的关键指标:
  • 自然流量趋势
  • 关键词排名
  • 点击率(CTR)
  • 跳出率和停留时间
  • Core Web Vitals得分
  • 反向链接增长
  • 自然流量转化率
工具:
  • Google Search Console(性能、索引问题)
  • Google Analytics 4(流量、行为、转化)
  • PageSpeed Insights(Core Web Vitals)
  • Ahrefs/SEMrush(关键词、反向链接、竞品分析)
  • Screaming Frog(技术审计)
进行SEO优化时,请优先考虑用户体验和价值传递。搜索引擎越来越青睐真正帮助用户、提供权威可信信息的内容。