581 lines
11 KiB
Markdown
581 lines
11 KiB
Markdown
# 本地 SEO 指南
|
||
|
||
本指南详细介绍如何优化本地商家在搜索引擎中的表现,特别是 Google Business Profile 和本地搜索排名。
|
||
|
||
---
|
||
|
||
## 📋 目录
|
||
|
||
- [本地 SEO 概述](#本地-seo-概述)
|
||
- [NAP 一致性](#nap-一致性)
|
||
- [Google Business Profile 优化](#google-business-profile-优化)
|
||
- [本地关键词优化](#本地关键词优化)
|
||
- [本地结构化数据](#本地结构化数据)
|
||
- [本地目录和评论](#本地目录和评论)
|
||
|
||
---
|
||
|
||
## 本地 SEO 概述
|
||
|
||
本地 SEO 帮助本地商家在地理位置相关的搜索中获得更好的排名。
|
||
|
||
### 为什么重要
|
||
|
||
- ✅ 73% 的本地搜索会转化为实体店访问
|
||
- ✅ "near me" 搜索增长 500%
|
||
- ✅ 移动本地搜索占比 60%+
|
||
- ✅ 竞争相对较小,ROI 高
|
||
|
||
### 本地 SEO 排名因素
|
||
|
||
Google 本地搜索排名三大因素:
|
||
|
||
1. **相关性** - 业务与搜索的匹配度
|
||
2. **距离** - 商家到搜索者的距离
|
||
3. **权威性** - 在线声誉和知名度
|
||
|
||
---
|
||
|
||
## NAP 一致性
|
||
|
||
### 什么是 NAP
|
||
|
||
- **N**ame(名称)- 商家名称
|
||
- **A**ddress(地址)- 完整地址
|
||
- **P**hone(电话)- 电话号码
|
||
|
||
### 重要性
|
||
|
||
NAP 一致性是最重要的本地 SEO 因素之一。不一致会导致:
|
||
- ❌ 搜索引擎混淆
|
||
- ❌ 排名下降
|
||
- ❌ 客户困扰
|
||
|
||
### 标准化 NAP
|
||
|
||
```bash
|
||
/nap-check --standardize
|
||
```
|
||
|
||
**标准格式:**
|
||
|
||
```markdown
|
||
商家名称: SF Plumbing Services
|
||
地址: 123 Main Street, San Francisco, CA 94102, USA
|
||
电话: +1 (415) 555-0123
|
||
|
||
注意:
|
||
✅ 首选完整拼写(Street 不是 St.)
|
||
✅ 包含邮政编码
|
||
✅ 使用国际格式电话
|
||
```
|
||
|
||
### 检查一致性
|
||
|
||
**需要检查的位置:**
|
||
|
||
1. **网站**
|
||
- 页脚
|
||
- 联系页面
|
||
- 关于页面
|
||
|
||
2. **本地目录**
|
||
- Google Business Profile
|
||
- Yelp
|
||
- Bing Places
|
||
- Yellow Pages
|
||
|
||
3. **社交媒体**
|
||
- Facebook
|
||
- Instagram
|
||
- LinkedIn
|
||
|
||
4. **其他**
|
||
- 名片
|
||
- 签名
|
||
- 邮件
|
||
|
||
使用模板:[NAP 标准化模板](../../templates/nap-standardization.md)
|
||
|
||
---
|
||
|
||
## Google Business Profile 优化
|
||
|
||
### 基本设置
|
||
|
||
**1. 验证商家**
|
||
|
||
```markdown
|
||
验证方式:
|
||
├─ 邮寄明信片(1-2 周)
|
||
├─ 电话验证(即时)
|
||
├─ 电子邮件验证(即时)
|
||
└─ 即时验证(特定业务)
|
||
```
|
||
|
||
**2. 完整填写信息**
|
||
|
||
```bash
|
||
/gbp-optimizer --analyze
|
||
```
|
||
|
||
**必需信息:**
|
||
- ✅ 商家名称(与实际一致)
|
||
- ✅ 地址
|
||
- ✅ 电话
|
||
- ✅ 类别(主要 + 次要)
|
||
- ✅ 营业时间
|
||
- ✅ 商家描述
|
||
|
||
### 优化策略
|
||
|
||
**1. 商家描述**
|
||
|
||
```markdown
|
||
## 优秀的商家描述
|
||
|
||
SF Plumbing Services 是旧金山领先的水管维修服务提供商,
|
||
拥有 15 年专业经验。我们提供 24/7 紧急服务,
|
||
所有技师都经过认证和保险。
|
||
|
||
服务范围包括 residential 和 commercial plumbing,
|
||
从漏水修复到完整管道系统升级。我们承诺:
|
||
100% 满意保证,明确定价,快速响应。
|
||
|
||
📍 服务区域: 旧金山及周边 30 英里
|
||
📞 24/7 紧急电话: +1 (415) 555-0123
|
||
|
||
(750 字以内,包含关键词)
|
||
```
|
||
|
||
**2. 类别选择**
|
||
|
||
```markdown
|
||
主要类别: Plumber
|
||
次要类别:
|
||
├─ Emergency Plumber Service
|
||
├─ Plumbing Supply Store
|
||
└─ Water Damage Restoration Service
|
||
|
||
注意:选择最相关的类别,不要过度选择
|
||
```
|
||
|
||
**3. 营业时间**
|
||
|
||
```markdown
|
||
标准营业时间:
|
||
├─ 周一至周五: 8:00 AM - 6:00 PM
|
||
├─ 周六: 9:00 AM - 3:00 PM
|
||
└─ 周日: 休息
|
||
|
||
特殊时间:
|
||
├─ 节假日营业时间
|
||
└─ 24/7 紧急服务
|
||
```
|
||
|
||
**4. 商家照片**
|
||
|
||
```markdown
|
||
推荐照片:
|
||
├─ Logo(封面照)
|
||
├─ 商家门面
|
||
├─ 内部环境
|
||
├─ 团队照片
|
||
├─ 产品/服务照片
|
||
└─ 前后对比照
|
||
|
||
要求:
|
||
├─ 至少 10 张照片
|
||
├─ 高分辨率(最小 720x720px)
|
||
├─ 良好光线
|
||
└─ 定期更新(每月添加)
|
||
```
|
||
|
||
**5. 定期发布**
|
||
|
||
```markdown
|
||
发布频率:每周 1-2 次
|
||
|
||
内容类型:
|
||
├─ 促销活动
|
||
├─ 服务更新
|
||
├─ 客户评价
|
||
├─ 行业贴士
|
||
└─ 新闻事件
|
||
|
||
使用模板:[GBP 发布示例](../../templates/gbp-post-examples.md)
|
||
```
|
||
|
||
### 评价管理
|
||
|
||
**鼓励评价**
|
||
|
||
```markdown
|
||
## 请求评价策略
|
||
|
||
时机:
|
||
├─ 服务完成后
|
||
├─ 客户满意时
|
||
└─ 定期邮件
|
||
|
||
方式:
|
||
├─ 邮件请求
|
||
├─ 短信链接
|
||
├─ 二维码
|
||
└─ 评价站点
|
||
|
||
示例邮件:
|
||
"感谢选择 SF Plumbing Services!如果满意我们的服务,
|
||
请在 Google 上留下评价:[评价链接]"
|
||
```
|
||
|
||
**回应评价**
|
||
|
||
```bash
|
||
/gbp-optimizer --review-template
|
||
```
|
||
|
||
使用模板:[GBP 评价响应模板](../../templates/gbp-review-response.md)
|
||
|
||
---
|
||
|
||
## 本地关键词优化
|
||
|
||
### 关键词研究
|
||
|
||
```bash
|
||
/local-keywords --city "San Francisco" --analyze
|
||
```
|
||
|
||
### 关键词类型
|
||
|
||
**1. 服务 + 城市**
|
||
|
||
```markdown
|
||
示例:
|
||
├─ plumber san francisco
|
||
├─ plumbing services san francisco
|
||
└─ san francisco plumbing
|
||
```
|
||
|
||
**2. 服务 + 区域**
|
||
|
||
```markdown
|
||
示例:
|
||
├─ plumber sunset district sf
|
||
├─ plumber nob hill san francisco
|
||
└─ plumbing services 94102
|
||
```
|
||
|
||
**3. "near me" 关键词**
|
||
|
||
```markdown
|
||
示例:
|
||
├─ emergency plumber near me
|
||
├─ plumbing services near me
|
||
└─ best plumber near me
|
||
```
|
||
|
||
**4. 问题型关键词**
|
||
|
||
```markdown
|
||
示例:
|
||
├─ how to fix leaky faucet
|
||
├─ what to do when pipe bursts
|
||
└─ cost of water heater replacement
|
||
```
|
||
|
||
### 内容优化
|
||
|
||
**创建本地页面**
|
||
|
||
```typescript
|
||
// app/locations/san-francisco/page.tsx
|
||
export const metadata = {
|
||
title: 'Plumbing Services San Francisco, CA | SF Plumbing Services',
|
||
description: 'Professional plumbing services in San Francisco, CA. 24/7 emergency plumber, residential and commercial. Call +1 (415) 555-0123.',
|
||
}
|
||
|
||
export default function SanFranciscoPage() {
|
||
return (
|
||
<div>
|
||
<h1>Plumbing Services in San Francisco, CA</h1>
|
||
|
||
<section>
|
||
<h2>Why Choose SF Plumbing Services?</h2>
|
||
<p>Serving San Francisco for over 15 years...</p>
|
||
</section>
|
||
|
||
<section>
|
||
<h2>Our Services in San Francisco</h2>
|
||
<ul>
|
||
<li>Emergency Plumbing</li>
|
||
<li>Drain Cleaning</li>
|
||
<li>Water Heater Installation</li>
|
||
</ul>
|
||
</section>
|
||
|
||
<section>
|
||
<h2>Service Areas</h2>
|
||
<p>We serve all neighborhoods including:</p>
|
||
<ul>
|
||
<li>Sunset District</li>
|
||
<li>Richmond District</li>
|
||
<li>Mission District</li>
|
||
<li>Nob Hill</li>
|
||
<li>Pacific Heights</li>
|
||
</ul>
|
||
</section>
|
||
|
||
<section>
|
||
<h2>Customer Reviews</h2>
|
||
{/* Google Reviews 嵌入 */}
|
||
</section>
|
||
</div>
|
||
);
|
||
}
|
||
```
|
||
|
||
使用模板:[本地关键词优化模板](../../templates/local-keyword-optimization.md)
|
||
|
||
---
|
||
|
||
## 本地结构化数据
|
||
|
||
### LocalBusiness Schema
|
||
|
||
```bash
|
||
/local-business-schema
|
||
```
|
||
|
||
### 完整示例
|
||
|
||
```json
|
||
{
|
||
"@context": "https://schema.org",
|
||
"@type": "PlumbingService",
|
||
"name": "SF Plumbing Services",
|
||
"image": "https://sfplumbing.com/logo.jpg",
|
||
"telephone": "+1 (415) 555-0123",
|
||
"url": "https://sfplumbing.com",
|
||
"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"
|
||
},
|
||
{
|
||
"@type": "OpeningHoursSpecification",
|
||
"dayOfWeek": "Saturday",
|
||
"opens": "09:00",
|
||
"closes": "15:00"
|
||
}
|
||
],
|
||
"priceRange": "$$",
|
||
"aggregateRating": {
|
||
"@type": "AggregateRating",
|
||
"ratingValue": "4.8",
|
||
"reviewCount": "52"
|
||
},
|
||
"areaServed": [
|
||
{
|
||
"@type": "City",
|
||
"name": "San Francisco"
|
||
},
|
||
{
|
||
"@type": "GeoCircle",
|
||
"geoMidpoint": {
|
||
"@type": "GeoCoordinates",
|
||
"latitude": 37.7749,
|
||
"longitude": -122.4194
|
||
},
|
||
"geoRadius": "30 mi"
|
||
}
|
||
]
|
||
}
|
||
```
|
||
|
||
### 添加到网站
|
||
|
||
```typescript
|
||
// app/layout.tsx
|
||
export default function RootLayout({ children }) {
|
||
const localBusinessSchema = {
|
||
"@context": "https://schema.org",
|
||
"@type": "PlumbingService",
|
||
// ... schema data
|
||
};
|
||
|
||
return (
|
||
<html lang="en">
|
||
<head>
|
||
<script
|
||
type="application/ld+json"
|
||
dangerouslySetInnerHTML={{
|
||
__html: JSON.stringify(localBusinessSchema)
|
||
}}
|
||
/>
|
||
</head>
|
||
<body>{children}</body>
|
||
</html>
|
||
);
|
||
}
|
||
```
|
||
|
||
---
|
||
|
||
## 本地目录和评论
|
||
|
||
### 提交到本地目录
|
||
|
||
```bash
|
||
/directories
|
||
```
|
||
|
||
**高优先级目录:**
|
||
|
||
1. **Google Business Profile** ✅ 必需
|
||
2. **Yelp** - 高流量
|
||
3. **Bing Places** - 必需
|
||
4. **Apple Maps Connect** - iOS 用户
|
||
5. **Nextdoor** - 本地社区
|
||
|
||
**行业特定目录:**
|
||
|
||
- Angie's List
|
||
- HomeAdvisor
|
||
- Thumbtack
|
||
- Porch
|
||
|
||
### 评价策略
|
||
|
||
**主动获取评价**
|
||
|
||
```markdown
|
||
评价目标:
|
||
├─ 1 个月: 10 个评价
|
||
├─ 3 个月: 25 个评价
|
||
├─ 6 个月: 50 个评价
|
||
└─ 1 年: 100+ 评价
|
||
|
||
平均评分目标: 4.5+ 星
|
||
```
|
||
|
||
**评价管理清单**
|
||
|
||
使用模板:[本地 SEO 检查清单](../../templates/local-seo-checklist.md)
|
||
|
||
---
|
||
|
||
## 地图嵌入
|
||
|
||
### Google Maps 嵌入
|
||
|
||
```bash
|
||
# 生成嵌入代码
|
||
/google-map-embed
|
||
```
|
||
|
||
使用模板:[Google 地图嵌入](../../templates/google-map-embed.md)
|
||
|
||
**示例:**
|
||
|
||
```html
|
||
<iframe
|
||
src="https://www.google.com/maps/embed?pb=..."
|
||
width="600"
|
||
height="450"
|
||
style="border:0;"
|
||
allowFullScreen=""
|
||
loading="lazy"
|
||
referrerPolicy="no-referrer-when-downgrade">
|
||
</iframe>
|
||
```
|
||
|
||
---
|
||
|
||
## 最佳实践
|
||
|
||
### 1. 一致性优先
|
||
|
||
```markdown
|
||
✅ 确保 NAP 在所有平台一致
|
||
✅ 定期检查和更新
|
||
✅ 使用标准格式
|
||
```
|
||
|
||
### 2. 活跃度
|
||
|
||
```markdown
|
||
✅ 定期发布 GBP 更新(每周)
|
||
✅ 回应所有评价(正面和负面)
|
||
✅ 添加新照片(每月)
|
||
✅ 发布优惠活动
|
||
```
|
||
|
||
### 3. 监控和分析
|
||
|
||
```bash
|
||
# 定期审计
|
||
/local-seo-audit --deep
|
||
|
||
# NAP 检查
|
||
/nap-check
|
||
|
||
# GBP 优化
|
||
/gbp-optimizer --analyze
|
||
```
|
||
|
||
---
|
||
|
||
## 🔧 实用命令
|
||
|
||
```bash
|
||
# 本地 SEO 审计
|
||
/local-seo-audit [--deep]
|
||
|
||
# NAP 一致性检查
|
||
/nap-check [--standardize]
|
||
|
||
# 本地关键词优化
|
||
/local-keywords [--city <城市>] [--analyze]
|
||
|
||
# GBP 优化
|
||
/gbp-optimizer [--analyze] [--review-template]
|
||
|
||
# 本地结构化数据
|
||
/local-business-schema
|
||
```
|
||
|
||
---
|
||
|
||
## 📚 相关资源
|
||
|
||
- [Google Business Profile 帮助](https://support.google.com/business)
|
||
- [本地 SEO 检查清单](../../templates/local-seo-checklist.md)
|
||
- [Yelp 商户指南](https://business.yelp.com/)
|
||
|
||
---
|
||
|
||
**相关指南:**
|
||
- [结构化数据指南](structured-data.md)
|
||
- [元数据优化指南](metadata-optimization.md)
|
||
|
||
---
|
||
|
||
**需要帮助?** 访问 [GitHub Issues](https://github.com/huifer/claude-code-seo/issues)
|