7.5 KiB
7.5 KiB
本地 SEO 示例
本示例展示如何使用本地 SEO 命令优化本地商家的搜索引擎表现。
场景
你经营着一家管道维修公司 "SF Plumbing Services",位于旧金山,想要提升在本地搜索结果中的排名,特别是 "Google 本地商户"(Google Business Profile)和地图搜索。
步骤 1: 运行本地 SEO 审计
/local-seo-audit --deep
步骤 2: 查看审计结果
✅ 本地 SEO 审计完成
📍 检测到的本地商家信息
商家名称: SF Plumbing Services
地址: 123 Main Street, San Francisco, CA 94102
电话: +1 (415) 555-0123
📊 本地 SEO 评分: 58/100
⚠️ 发现的问题
🔴 高优先级(P0)
├─ ❌ NAP 一致性: 发现 3 处不一致
│ ├─ 首页: "San Francisco" vs "SF"
│ ├─ 关于页面: "+1 415" vs "(415)"
│ └─ 联系页面: "Street" vs "St."
├─ ❌ 缺少 LocalBusiness Schema
├─ ❌ Google Business Profile 未完全优化
│ ├─ 缺少营业时间
│ ├─ 缺少商家照片
│ └─ 缺少服务类别
└─ ⚠️ 本地关键词优化不足
🟡 中优先级(P1)
├─ ⚠️ 只有 2 个本地客户评价
├─ ⚠️ 缺少地图嵌入
└─ ⚠️ 未出现在本地目录网站
🟢 低优先级(P2)
├─ 可以添加地理位置页面
└─ 可以优化移动端体验
✅ 做得好的地方
├─ 有完整的联系页面
├─ 使用了本地电话号码
└─ 有服务区域说明
步骤 3: 修复 NAP 一致性问题
运行 NAP 检查
/nap-check --standardize
输出:
⚠️ 发现 NAP 不一致
建议的标准化格式:
名称: SF Plumbing Services
地址: 123 Main Street, San Francisco, CA 94102
电话: +1 (415) 555-0123
需要修改的文件:
├─ app/page.tsx - 第 45 行
├─ app/about/page.tsx - 第 23 行
└─ app/contact/page.tsx - 第 67 行
修复不一致
app/page.tsx(修复前)
<footer>
<p>123 Main St, SF, CA 94102</p>
<p>Tel: +1 415-555-0123</p>
</footer>
app/page.tsx(修复后)
<footer>
<p>123 Main Street, San Francisco, CA 94102</p>
<p>Tel: +1 (415) 555-0123</p>
</footer>
步骤 4: 添加 LocalBusiness Schema
/local-business-schema
生成结果:
// app/layout.tsx 添加
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "PlumbingService",
"name": "SF Plumbing Services",
"image": "https://sfplumbing.com/logo.jpg",
"telephone": "+1 (415) 555-0123",
"address": {
"@type": "PostalAddress",
"streetAddress": "123 Main Street",
"addressLocality": "San Francisco",
"addressRegion": "CA",
"postalCode": "94102",
"addressCountry": "US"
},
"geo": {
"@type": "GeoCoordinates",
"latitude": 37.7749,
"longitude": -122.4194
},
"openingHoursSpecification": {
"@type": "OpeningHoursSpecification",
"dayOfWeek": [
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday"
],
"opens": "08:00",
"closes": "18:00"
},
"priceRange": "$$",
"aggregateRating": {
"@type": "AggregateRating",
"ratingValue": "4.8",
"reviewCount": "52"
}
}
</script>
步骤 5: 优化 Google Business Profile
运行 GBP 优化命令
/gbp-optimizer --analyze --review-template
输出:
📋 Google Business Profile 优化建议
当前状态分析:
├─ ✅ 名称正确
├─ ✅ 地址已验证
├─ ✅ 电话正确
├─ ❌ 缺少营业时间
├─ ❌ 照片数量不足(仅 3 张,建议 10+)
├─ ⚠️ 服务类别不完整
├─ ⚠️ 评价数量较少(2 个)
└─ ⚠️ 缺少商家描述
优化建议:
1. 添加详细营业时间(包括节假日)
2. 上传 10+ 张高质量照片
3. 完善服务类别列表
4. 请求客户评价
5. 撰写详细商家描述(750 字以内)
生成的评价响应模板
主题: 感谢您的评价!
尊敬的 [客户姓名],
非常感谢您抽出时间分享您的体验。我们很高兴听到
您对我们的服务感到满意!
如果您未来需要任何管道维修服务,请随时联系我们。
我们也感谢您向朋友和家人推荐 SF Plumbing Services。
再次感谢您的支持!
SF Plumbing Services 团队
步骤 6: 本地关键词优化
/local-keywords --city "San Francisco" --analyze
输出:
🔍 本地关键词建议
高价值关键词(高搜索量,低竞争):
├─ "emergency plumber san francisco" (搜索量: 890, 竞争: 中)
├─ "san francisco plumbing services" (搜索量: 720, 竞争: 低)
├─ "plumber 94102" (搜索量: 320, 竞争: 低)
├─ "residential plumbing san francisco" (搜索量: 410, 竞争: 中)
└─ "best plumber in san francisco" (搜索量: 650, 竞争: 高)
建议的页面标题:
├─ Emergency Plumber San Francisco | SF Plumbing Services
├─ Residential Plumbing Services San Francisco, CA
├─ Best Plumber in San Francisco | 5-Star Rated Service
└─ Plumbing Services 94102 | Local & Reliable
内容建议:
├─ 创建 "San Francisco Plumbing Tips" 博客系列
├─ 添加 "Service Areas" 页面覆盖周边邮编
├─ 撰写 "What to Expect from a SF Plumber" 指南
└─ 创建 "Plumbing Cost Guide in San Francisco"
步骤 7: 添加地图嵌入
# 可以使用模板
# 将以下代码添加到联系页面
<iframe
src="https://www.google.com/maps/embed?pb=..."
width="600"
height="450"
style="border:0;"
allowFullScreen=""
loading="lazy">
</iframe>
步骤 8: 提交到本地目录
/directories
建议的目录网站:
📋 推荐的本地目录网站
高优先级:
├─ Google Business Profile ✅ (已添加)
├─ Yelp Business
├─ Bing Places
└─ Apple Maps Connect
中优先级:
├─ Angie's List
├─ HomeAdvisor
├─ Thumbtack
└─ Porch
低优先级:
├─ Yellow Pages
├─ Better Business Bureau
└─ Local Chamber of Commerce
步骤 9: 再次审计
/local-seo-audit --deep
新的结果:
✅ 本地 SEO 审计完成
📊 本地 SEO 评分: 85/100 ⬆️ +27 分
✅ 改进成果
├─ ✅ NAP 完全一致
├─ ✅ 添加了 LocalBusiness Schema
├─ ✅ Google Business Profile 大幅优化
├─ ✅ 本地关键词已优化
├─ ✅ 添加了地图嵌入
└─ ✅ 提交到 5 个本地目录
⚠️ 继续改进
├─ [ ] 收集更多客户评价(目标: 20+)
├─ [ ] 定期发布 GBP 帖子
└─ [ ] 监控和响应评价
预期效果:
├─ 本地搜索排名提升
├─ 更多电话咨询
└─ 增加本地客户
💡 关键要点
本地 SEO 三要素
-
NAP 一致性
- 名称、地址、电话在所有平台保持一致
- 使用标准格式
- 定期检查和更新
-
Google Business Profile 优化
- 完整填写所有信息
- 定期发布更新
- 积极回应评价
-
本地关键词
- 包含城市名 + 服务
- 创建本地化内容
- 优化移动体验
🎯 下一步
- 查看 本地 SEO 指南
- 使用
/haro-opportunities寻找本地媒体机会 - 参考 本地 SEO 检查清单
相关文档:
需要更多示例?