产品 SEO 与 GEO 智能体 付费广告智能体 网站智能体 转化智能体
运作方式 方案 常见问题 博客 预约通话

WordPress SEO 入门:主机、插件和页面设置

更新于 · 阅读约 8 分钟

简短回答 WordPress 本身就能生成 Google 读得懂的页面和网站地图。新网站还需要五件事:支持 HTTPS、很少宕机的主机;取消勾选“建议搜索引擎不索引本站点”;固定链接设为“文章名”;一个 SEO 插件,用来写每个页面的标题和描述;以及连接 Google Search Console。然后为每项服务建一个独立页面。

想把这些用到您的生意上?预约一次 30 分钟的免费通话,一起聊聊。

预约通话

新网站的 WordPress SEO 设置清单

按顺序做,最好在发布页面之前完成。大多数只需几分钟。

步骤在哪里为什么
1. 支持 HTTPS、很少宕机的主机主机商的控制面板总是打不开的页面会被 Google 移除
2. 在手机上好用的主题外观 → 主题Google 按页面的手机版排名
3. 取消勾选“建议搜索引擎不索引本站点”设置 → 阅读勾选时,它会让搜索引擎跳过所有页面
4. 固定链接设为“文章名”设置 → 固定链接地址是 /drain-cleaning/,而不是 /?p=123
5. 站点标题和副标题设置 → 常规WordPress 用它们生成页面标题
6. 一个 SEO 插件插件页面WordPress 没有元描述字段
7. Search Console 和网站地图Site Kit by Google看 Google 收录了哪些页面,没收录的原因是什么
8. 每个页面的标题、描述、地址和替代文本页面编辑器Google 读取并展示的这个页面的内容

WordPress 主机需要满足哪些 SEO 条件

Google 不给主机排名,但会注意到主机出问题:页面报错、加载慢或不安全。向主机商要这些:

要求为什么
免费且自动续期的 HTTPS 证书没有证书的网站会被浏览器标为“不安全”;WordPress 的站点健康把缺少 HTTPS 列为严重问题
很少宕机和服务器错误服务器报错时 Google 会放慢抓取,然后移除持续失败的页面(见下方引文)
PHP 8.3 或更高;MySQL 8.4+ 或 MariaDB 10.11+WordPress.org 2026 年 5 月的推荐配置
每日备份,一键恢复WordPress 的安全指南把备份列为基本准备
服务器响应快速度影响 Core Web Vitals(核心网页指标),Google 的排名系统会用到它
数据中心在您所在的国家Google 称服务器位置可能是判断受众的一个信号
"For Google Search, Google's indexing pipeline removes from the index URLs that persistently return a server error." (Google Crawling Infrastructure: How HTTP status codes affect Google's crawlers) 译文:“对于 Google 搜索,Google 的索引流程会把持续返回服务器错误的网址从索引中移除。”

HTTPS 对信任的影响大于对排名的影响。Google 表示,除 Core Web Vitals 之外的页面体验因素“don't directly help your website rank higher in search results”(不会直接帮助您的网站在搜索结果中排得更高)。但 WordPress 仍强烈建议使用 HTTPS,以保护登录和访客。

加拿大: 如果用 .ca 域名,Google 的指南说服务器位置无关紧要,因为域名已经表明了国家。如果用 .com,选本国的主机最稳妥。

用手机挑主题,而不是用电脑:

"Google uses the mobile version of a site's content, crawled with the smartphone agent, for indexing and ranking." (Google Search Central: Mobile-first indexing best practices) 译文:“Google 使用网站内容的手机版(由智能手机抓取工具抓取)进行索引和排名。”

测速结果一片红?请看 Core Web Vitals 与排名。预算方面:小企业网站要花多少钱。

上线前要改的 WordPress 设置

搜索引擎可见性(设置 → 阅读)

从 WordPress 5.3 起,勾选“建议搜索引擎不索引本站点”会给每个页面加上 noindex 标签(要求不要收录该页面的指令)。搭建期间可以勾选,上线当天一定要取消。它只是请求,不是锁:WordPress 说“it is up to search engines to honor your request”(是否遵守您的请求由搜索引擎决定)。网站上线了却在 Google 上找不到?先检查这个选项,再看 网站在 Google 上搜不到。

固定链接(设置 → 固定链接)

固定链接就是页面地址。视服务器而定,新安装的网站要么用带日期的地址(/2026/11/16/sample-post/),要么用“朴素”格式(example.com/?p=123),WordPress 称后者“not optimized for search engines”(没有针对搜索引擎优化)。选 文章名。您的管道疏通页面会变成 /drain-cleaning/,WordPress 用连字符连接单词,这正是 Google 推荐的:

"Specifically, we recommend using hyphens (-) instead of underscores (_) to separate words in your URLs, as it helps users and search engines better identify concepts in the URL." (Google Search Central: URL structure best practices) 译文:“具体来说,我们建议在网址中用连字符(-)而不是下划线(_)分隔单词,因为这能帮助用户和搜索引擎更好地识别网址中的概念。”

发布前就设好。WordPress 自己的指南说固定链接“should never be changed”(永远不应更改)。以后再改,每个指向旧地址的链接都需要重定向。

站点标题和副标题(设置 → 常规)

没有 SEO 插件时,WordPress 生成的 Google 可见标题,在内页是“页面名称 – 站点标题”,在首页是“站点标题 – 副标题”(WordPress 代码参考:wp_get_document_title)。所以:

  • 站点标题: 您的商家名称,要简短。Google 要求您“brand your titles concisely”(简洁地在标题中体现品牌)。
  • 副标题: 您做什么、在哪里,例如“Emergency plumber in Tulsa”(塔尔萨紧急水管工)。它会成为首页标题的一部分。

顺便确认这个页面上的两个地址都以 https:// 开头。如果主机支持 HTTPS,站点健康(在“工具”下)可以一键切换。

WordPress 需要 SEO 插件吗?

需要,一个就够。WordPress 能做的比人们想的多,但不是全部:

工作仅靠 WordPress加上 SEO 插件
XML 网站地图(向搜索引擎列出您页面的文件)5.5 起内置,地址是 /wp-sitemap.xml插件提供自己的地图,设置更多
页面标题页面名称加站点标题,自动生成每个都由您来写
元描述(搜索结果中标题下方的摘要)没有;文档说元标签默认“are not included”(不包含)每个页面都有一个字段
页面地址变更时的重定向只对博客文章自动处理,页面不处理部分插件带重定向工具;否则用免费的 Redirection 插件

常见的选择,以及 2026 年 11 月 WordPress.org 显示的活跃安装数:Yoast SEO(1000 万+)、Rank Math(400 万+)、All in One SEO(200 万+)和 The SEO Framework(20 万+)。每个免费版都能处理标题、描述和网站地图,并添加一些结构化数据(schema)。付费版有额外功能,例如 Yoast Premium 增加了 AI 工具和重定向管理器。只装一个:Rank Math 自己的帮助中心警告,同时装两个可能冲突,甚至让网站崩溃。

再装 Site Kit by Google,这是 Google 免费的官方插件。它不用改代码就能连接 Search Console 和 Analytics。本地商家的结构化数据:结构化数据详解。

在托管服务 WordPress.com 上,插件需要付费套餐:"For free sites, upgrade your plan to install plugins."(免费网站请升级套餐以安装插件。)(WordPress.com Support)

每个 WordPress 页面的页内 SEO

为每项服务建一个独立页面,然后在编辑器里填写这些:

字段在 WordPress 哪里写什么
SEO 标题SEO 插件的设置框服务、地点、商家:"Drain cleaning in Tulsa – Smith Plumbing"。Google 希望它“descriptive and concise”(具有描述性且简洁),不要重复用词
元描述同一个设置框一两句话:做什么、在哪里、怎么预约。Google 有时会把它显示在标题下方
网址别名页面设置侧栏的“别名”两到四个单词:/drain-cleaning/
标题编辑器顶部的标题直白的服务名称
图片替代文本图片区块设置,或媒体库的“替代文本”字段照片里有什么:"technician clearing a kitchen drain"(技师正在疏通厨房下水道)
链接菜单、首页、相关页面每个服务页面都要有地方链接到它

Google 称替代文本是描述图片最重要的属性。链接之所以重要,是因为 Google 靠它们发现页面:

"Google primarily finds pages through links from other pages it already crawled." (Google Search Central: SEO Starter Guide) 译文:“Google 主要通过它已抓取的其他页面上的链接来发现页面。”

页面本身写什么:服务页面的页内 SEO。瞄准哪些词:本地商家的关键词研究。

以后要改页面地址? WordPress 会用 301(永久)重定向把访问旧博客文章地址的人送到新地址。但它跳过页面;它的代码写着“Do not attempt redirect for hierarchical post types”(不要对层级式内容类型尝试重定向),而页面正是其中之一。服务页面通常是页面,所以要自己加 301:

"If you need to change the URL of a page as it is shown in search engine results, we recommend that you use a permanent server-side redirect whenever possible." (Google Search Central: Redirects and Google Search) 译文:“如果您需要更改某个页面在搜索引擎结果中显示的网址,我们建议尽可能使用永久性的服务器端重定向。”

连接 Google Search Console 并提交网站地图

  1. 通过 Site Kit by Google 设置 Search Console。
  2. 提交网站地图:/wp-sitemap.xml,或 SEO 插件显示的地址。Google 称提交“merely a hint”(只是一个提示),页面在 500 个以内、全部能从首页链接到的网站可能不需要。但提交不花钱。
  3. 在“网址检查”中,请求为首页和主要服务页面编入索引。Google 说抓取“can take anywhere from a few days to a few weeks”(可能需要几天到几周不等);重复请求不会加快速度。
  4. 把网站添加到 Bing Webmaster Tools。它的 Search Console 导入功能会带入您的网站和网站地图,不需要单独的验证码。

之后看哪些报告:小企业如何用 Google Search Console 和 我的 SEO 有效果吗?

上线后,保持 WordPress、主题和插件更新。WordPress 的安全指南说得很直接:您“should always keep up to date with the latest version of WordPress”(应始终使用最新版本的 WordPress),因为旧版本“more open to attack”(更容易受到攻击)。

示例

以下为示意案例,数字是虚构的。

一家园林绿化公司上线六页网站(美元)

主机每月约 $15,含 HTTPS 和备份。添加页面之前,老板把固定链接设为“文章名”,副标题写“Lawn care in Boise”(博伊西草坪养护),安装一个 SEO 插件和 Site Kit。上线时:取消勾选“阅读”里的选项,提交网站地图,请求为六个页面编入索引。

一家改了页面地址的牙科诊所(美元)

/whitening-services/ 改成了 /teeth-whitening/。来自它的 Google 商家资料(Google Business Profile)和两个目录网站的链接现在都落到“找不到页面”,因为 WordPress 不会为改名的页面做重定向。在免费的 Redirection 插件里加一条 301 就解决了,花费 $0。

一位使用 .ca 域名的多伦多记账师(加元)

最便宜的主机只有美国服务器。用 .ca 域名时,服务器位置对 Google 没有影响,所以她改按备份、在线率和速度来选,选了每月 $20 的主机。

常见问题

Yoast SEO 免费版够用吗?

对服务型企业通常够用:标题、描述、网站地图和基础结构化数据都是免费的。重定向需要 Premium 版,或用免费的 Redirection 插件。

我需要 AMP 或 Google 的移动设备适合性测试吗?

不需要。Google 已在 2023 年 12 月停用移动设备适合性测试(Mobile-Friendly Test),并且对 AMP 页面与其他页面采用同样的标准。用 Chrome 的 Lighthouse 检查手机版布局即可。

新的 WordPress 网站多久能出现在 Google 上?

Google 说抓取需要几天到几周。在竞争激烈的搜索中排上名需要更久:SEO 需要多长时间。

您的情况不同?

继续阅读

下一篇Contentful SEO:无头 CMS 设置与更快的 LCP小企业的 Contentful SEO:要添加哪些 SEO 字段、开发者的代码必须做什么,以及如何让 Contentful 网站上的主图加载更快。

自己动手

Webflow SEO 检查清单:每项该查的设置,以及它们在哪里小企业网站的 Webflow SEO 检查清单:每项页面、技术和本地设置在 Webflow 里的位置,以及 Google 实际要求什么。

问我们一个问题

一句话就够。我们会通过电子邮件回复。

出处

  1. WordPress.org: Server requirements
  2. WordPress.org Documentation: Settings Reading screen
  3. WordPress.org Documentation: Customize permalinks
  4. WordPress.org Documentation: Search Engine Optimization
  5. WordPress.org Documentation: Media Library screen
  6. WordPress.org Documentation: Page/Post Settings Sidebar
  7. WordPress Developer Resources: wp_install_maybe_enable_pretty_permalinks()
  8. WordPress Developer Resources: wp_get_document_title()
  9. WordPress Developer Resources: wp_old_slug_redirect()
  10. WordPress Developer Resources: HTTPS
  11. WordPress Developer Resources: Hardening WordPress
  12. Make WordPress Core: Improved HTTPS detection and migration in WordPress 5.7
  13. Make WordPress Core: New XML Sitemaps Functionality in WordPress 5.5
  14. WordPress.com Support: WordPress plugins
  15. WordPress.org Plugins: Yoast SEO
  16. WordPress.org Plugins: Rank Math SEO
  17. WordPress.org Plugins: All in One SEO
  18. WordPress.org Plugins: The SEO Framework
  19. WordPress.org Plugins: Site Kit by Google
  20. WordPress.org Plugins: Redirection
  21. Rank Math Knowledge Base: Why you should keep only one SEO plugin active
  22. Google Search Central: Understanding page experience
  23. Google Crawling Infrastructure: How HTTP status codes affect Google's crawlers
  24. Google Search Central: Managing multi-regional and multilingual sites
  25. Google Search Central: Mobile-first indexing best practices
  26. Google Search Central: URL structure best practices
  27. Google Search Central: Influencing title links
  28. Google Search Central: How to write meta descriptions
  29. Google Search Central: Image SEO best practices
  30. Google Search Central: SEO Starter Guide
  31. Google Search Central: Redirects and Google Search
  32. Google Search Central: What is a sitemap
  33. Google Search Central: Build and submit a sitemap
  34. Google Search Central: Ask Google to recrawl your URLs
  35. Google Search Central Blog: A new mobile friendly testing tool (retired 2023)
  36. Google Search Central: About AMP on Google Search
  37. Bing Webmaster Tools: Add and verify site