[wordpress插件] Better WordPress Google XML Sitemaps (support Sitemap Index, Multi-site and Google News)更好的WordPress Google XML Sitemaps(支持Sitemaps索引,多站点和Google新闻)

wordpress 插件 文章 2020-03-14 20:40 501 0 全屏看文

AI助手支持GPT4.0

评分
88
描述

With BWP GXS you will no longer have to worry about the 50,000 URL limit or the

有了BWP GXS,您将不再需要担心50,000个URL限制或

time it takes for a sitemap to be generated.

生成站点地图所需的时间。

This plugin is fast, consumes much

这个插件速度快,消耗很多

less resource and can be extended via your very own modules (yes, no hooks

资源更少,可以通过自己的模块进行扩展(是的,没有钩子

needed!).

需要!)。

Here’s a demo of the sitemap

这是站点地图的演示

index if you are interested.

索引,如果您有兴趣。

Google News Sitemap

Google新闻站点地图

Add a Google News sitemap to your sitemap index easily.

轻松地将 Google新闻站点地图添加到您的站点地图索引中。

News sitemap can be

新闻站点地图可以是

used to ping search engines individually if you want.

用于根据需要单独对搜索引擎执行ping操作。

And of course, whenever

当然,每当

you publish a new post in a news category, all selected search engines will be

您在新闻类别中发布新帖子,所有选定的搜索引擎将

pinged.

ping通。

As of 1.4.0, you can use custom post types and custom taxonomies for your news

从1.4.0开始,您可以为新闻使用自定义帖子类型和自定义分类法

sitemap.

网站地图。

Image Sitemap

图片站点地图

If you have any post (of any post type) that supports the Featured image

如果您有任何帖子(任何帖子类型)都支持精选图片

feature, you will be able to add the current featured image to a post-based

功能,您将能够将当前的特色图像添加到基于帖子的

sitemap with ease.

网站地图。

This feature is available since 1.4.0.

此功能自1.4.0开始可用。

Sitemap Index

站点地图索引

A sitemap index, as its name suggests, is a sitemap that allows you to group

顾名思义,站点地图索引是一种允许您分组的站点地图

several sitemaps inside it.

里面有几个站点地图。

It gives you many benefits such as: possibility to bypass the 50,000 URL limit

它为您带来许多好处,例如:可以绕过50,000个URL限制

(for example you can have 10 custom sitemaps, each has 10,000 URLs), or

(例如,您可以有10个自定义站点地图,每个都有10,000个URL),或者

possibility to make the generation time much faster (because each sitemap is

使生成时间更快的可能性(因为每个站点地图都是

requested separately and is built by its own module), etc.

单独请求并由其自己的模块构建)等。

For a search engine to acknowledge your sitemaps, you only have to submit the

要让搜索引擎确认您的站点地图,您只需提交

sitemap index and you’re done, no need to submit each sitemap individually.

站点地图索引即可完成操作,无需单独提交每个站点地图。

Splitting post-based sitemaps

分割基于帖子的站点地图

As of version 1.1.0, this plugin can automatically split large post sitemaps

从1.1.0版开始,此插件可以自动拆分大型发布站点地图

into smaller ones when limit reached.

当达到极限时,变成较小的。

For example if you have 200K posts and

例如,如果您有20万个帖子,并且

would like to have 10K posts for each sitemap, BWP GXS will then split post.xml

想要每个站点地图有1万个帖子,BWP GXS随后将拆分 post.xml

into 20 parts (i.e. from post_part1.xml to post_part20.xml).

分为20个部分(即从 post_part1.xml post_part20.xml )。

This not only helps you bypass the 50,000 URLs limit without having to build

这不仅可以帮助您绕过50,000个URL限制而无需构建

your custom modules, but also helps make your sitemaps smaller, lighter, and of

您的自定义模块,还有助于使站点地图更小,更轻巧和

course faster to generate.

当然,生成速度更快。

This plugin has been tested on sites that have

此插件已经在具有
的网站上进行了测试

nearly 200K posts and it took less than 1 second to generate the sitemap index.

将近20万个帖子,并且不到1秒的时间就生成了站点地图索引。

Furthermore, you can set a separate limit for split sitemaps or simply use the

此外,您可以为拆分站点地图设置单独的限制,也可以直接使用

global limit.

全局限制。

Multi-site compatible

兼容多站点

Each website within your network will have its own sitemap index and sitemaps.

您网络中的每个网站都会有自己的站点地图索引和站点地图。

For sub-domain installation, your sitemap index will appear at http://sub-domain.example.com/sitemapindex.xml.

对于子域安装,您的站点地图索引将显示在 http://sub-domain.example.com/sitemapindex.xml

For sub-folder installation, your sitemap index will appear at http://example.com/sub-folder/sitemapindex.xml.

对于子文件夹安装,您的站点地图索引将显示在 http://example.com/sub-folder/sitemapindex.xml

There’s always a sitemap index for your main site, available at http://example.com/sitemapindex.xml.

主站点始终有一个站点地图索引,可从 http://example.com/sitemapindex.xml 获得。

If you choose the sub-domain approach, each sub-domain can also have its own robots.txt.

如果您选择子域方法,则每个子域也可以拥有自己的 robots.txt

Custom sitemaps using modules

使用模块的自定义站点地图

The unrivaled flexibility this plugin offers is the ability to define your

此插件提供的无与伦比的灵活性是能够定义您的

custom sitemaps using modules.

使用模块的自定义站点地图。

Each module is a actually .php file that tell

每个模块实际上都是一个.php文件,可以告诉

BWP Google XML Sitemap how to build a sitemap file.

BWP Google XML Sitemap如何构建站点地图文件。

You can extend default

您可以扩展默认值

modules or create completely new ones.

模块或创建全新的模块。

This plugin also comes with a convenient base class for developing modules with

此插件还附带了一个方便的基类,用于使用
开发模块

easy to use and thoroughly documented API.

易于使用且文档详尽的API。

Since modules can be defined by you,

由于模块可以由您定义,

there’s no limitation what a sitemap can have (for example you can bypass the

站点地图没有任何限制(例如,您可以绕过

50,000 URL limit, as stated above).

如上所述,网址限制为50,000。

There’s one limitation, though: your

不过有一个限制:您的

imagination ;).

想象力;)。

Oh, did I mention that you can even use module to create

哦,我刚才提到您甚至可以使用模块来创建

another sitemap index?

另一个Sitemap索引?

For a complete feature list, please visit this

有关完整的功能列表,请访问此

>plugin's official

>插件的官方

documentation.

文档

Support this plugin

支持此插件

Don't forget to rate this plugin 5 shining stars

请不要忘记为该插件评分 5颗闪亮的星星

a> if you like it, thanks!

a>如果您喜欢,谢谢!

Get in touch

保持联系

安装步骤

    1. Upload the bwp-google-xml-sitemaps folder to the /wp-content/plugins/ directory
    2. bwp-google-xml-sitemaps 文件夹上载到 / wp-content / plugins / 目录

    3. Activate the plugin through the Plugins menu in WordPress.

    4. 通过WordPress中的“插件”菜单激活插件。

      After activation, you should see a menu of this plugin on your left.

      激活后,您应该在左侧看到该插件的菜单。

      If you can not locate it, click on Settings under the plugin’s name.

    5. 如果找不到它,请单击插件名称下的“设置”。

    6. Configure the plugin
    7. 配置插件

    8. Build your sitemap for the first time or just submit the sitemap index to all major search engines.
    9. 第一次构建您的站点地图,或者只是向所有主要搜索引擎提交站点地图索引。

    10. Enjoy!
    11. 享受!

    View instructions with images.

    查看带有图像的说明

下载地址
https://downloads.wordpress.org/plugin/bwp-google-xml-sitemaps.1.4.1.zip
-EOF-

AI助手支持GPT4.0