WordPress网站地图(Sitemap)的作用与使用方法 - 提升SEO收录效率
网站地图(Sitemap)是大多数网站必备的SEO优化工具,它能让搜索引擎蜘蛛快速抓取网站内容,有效促进网站收录。本文将详细介绍WordPress内置Sitemap功能的使用方法。
Sitemap is an essential SEO tool for most websites, allowing search engine spiders to quickly crawl website content and effectively promote website indexing. This article details how to use WordPress' built-in Sitemap feature.
WordPress内置Sitemap功能
Built-in Sitemap Feature in WordPress
如果你的网站使用WordPress 5.5及以上版本,那么恭喜你,你已经拥有了原生的Sitemap功能,无需再安装额外插件。
If your website uses WordPress 5.5 or higher, congratulations - you already have native Sitemap functionality without needing additional plugins.
如何获取Sitemap文件
How to Get Sitemap File
WordPress自带的Sitemap默认已启用,只需访问:http(s)://yourdomain.com/wp-sitemap.xml
The built-in WordPress Sitemap is enabled by default, just visit:http(s)://yourdomain.com/wp-sitemap.xml
系统会自动生成包含各类内容链接的Sitemap文件。对于外贸网站做Google SEO,直接将该地址提交至Google Search Console即可。
The system automatically generates Sitemap files containing various content links. For foreign trade websites doing Google SEO, simply submit this address to Google Search Console.
提交至百度站长平台
Submit to Baidu Webmaster Platform
中文网站需注意:WordPress生成的是索引型Sitemap,而百度目前不支持此类格式。我们需要提交wp-sitemap.xml中包含的几个非索引型子文件。
Chinese websites note: WordPress generates an indexed Sitemap, which Baidu currently doesn't support. We need to submit several non-indexed subfiles contained in wp-sitemap.xml.
操作步骤:
1. 复制wp-sitemap.xml中的子文件链接
2. 登录百度站长平台
3. 进入【普通收录】-【sitemap】
4. 粘贴并提交链接
Steps:
1. Copy subfile links in wp-sitemap.xml
2. Log in to Baidu Webmaster Platform
3. Go to [General Inclusion] - [sitemap]
4. Paste and submit links
使用建议
Usage Recommendations
新建网站建议直接使用WordPress原生Sitemap功能,减少插件使用。已使用其他Sitemap插件的网站,若无特殊需求不建议更换。
New websites are recommended to use WordPress' native Sitemap feature directly to reduce plugin usage. Websites already using other Sitemap plugins are not recommended to switch unless necessary.
通过合理使用Sitemap,可以显著提升网站在Google和百度的收录效率,是SEO优化中不可忽视的重要环节。
By properly using Sitemap, you can significantly improve your website's indexing efficiency on both Google and Baidu, making it an important part of SEO optimization that cannot be ignored.
