This plugin allow you to control the WordPress core
XML Sitemap with various options and allows you to add a
Google News Sitemap.
Multisite,
Polylang and
WPML compatible and there are no static files created.
There are options to select which sitemaps are enabled, which Post Types and archive pages (like taxonomy terms and author pages) are included, how Priority and Lastmod are calculated and a possibility to set additional robots.txt rules from within the WordPress admin.
When the Google News Sitemap is activated, it will become available on
yourblog.url/sitemap-news.xml (or yourblog.url/?feed=sitemap-news), ready for indexing by Google News. It is automatically referenced in the dynamically created
robots.txt along with the regular XML Sitemap index.
请阅读 FAQ 来了解如何将从谷歌新闻中获取你的文章列表。
Compatible with caching solutions like CloudFlare, WP Super Cache, Nginx Helper (both FastCGI Cache and Redis Cache), W3 Total Cache and Quick Cache that cache feeds, allowing a faster serving to the impatient (when hungry) spider.
NOTES:
- If you do not use fancy URL's or you have WordPress installed in a subdirectory, a dynamic robots.txt will NOT be generated. You'll have to create your own and upload it to your site root! See FAQ's.
- On large sites, it is advised to use a good caching plugin like WP Super Cache, Quick Cache, W3 Total Cache or another to improve your site and sitemap performance.
功能
- Compatible with multi-lingual sites built with Polylang or WPML to allow all languages to be indexed equally.
- Option to add new robots.txt rules. These can be used to further control the indexation of various parts of your site.
- 包含 XLS 样式表,使站点地图更加易读。
- Sitemap templates and stylesheets can be overridden by theme template files.
XML Sitemap
- Sitemap Index includes posts, pages and authors by default.
- Optionally include sitemaps for custom post types, categories and tags.
- 可自定义 URL 的站点地图。
- 可添加静态或自定义站点地图到索引中。
- Works out-of-the-box, even on Multisite installations.
- Include featured images or attached images with title.
- Options to define which post types and taxonomies get included in the sitemap.
- 在文章发生了修改,或有了新评论时,更新 LastMod。
- 为每篇文章、每个分类或是每种文章类型设置优先级。
- 排除独立文章或页面。
Google News Sitemap
- Required news sitemap tags: Publication name, language, title and publication date.
- Set a News Publication Name or uses site name.
- Supports custom post types.
- Limit inclusion of certain post categories.
Pro Features
Google News Advanced
- Multiple post types - Include more than one post type in the same News Sitemap.
- Keywords - Add the keywords tag to your News Sitemap. Keywords can be created from Tags, Categories or a dedicated Keywords taxonomy.
- Stock tickers - Add stock tickers tag to your News Sitemap. A dedicated Stock Tickers taxonomy will be available to manage them.
隐私政策 / GDPR
本插件不会收集任何用户或来访者数据,也不会配置浏览器 Cookies。使用本插件不会在任何方面对你的网站的隐私政策造成影响。
Data that is published
An XML Sitemap index, referencing other sitemaps containing your web site's public post URLs of selected post types that are already public, along with their last modification date and associated image URLs, and any selected public archive URLs.
A Google News Sitemap containing your web site's public and recent (last 48 hours) URLs of selected news post type, along with their publication time stamp and associated image URL.
An author sitemap can be included, which will contain links to author archive pages. These urls contain author/user slugs, and the author archives can contain author bio information. If you wish to keep this out of public domain, then deactivate the author sitemap and use an SEO plugin to add noindex headers.
Data that is transmitted
No data actively transmitted.
如何贡献
If you're happy with this plugin as it is, please consider writing a quick
rating or helping other users out on the
support forum.
If you wish to help build this plugin, you're very welcome to
translate it into your language or contribute code on
Github.
致谢
XML Sitemap Feed(现 XML Sitemap & Google News)插件最初基于由 Patrick Chia 编写的 Standard XML Sitemap Generator 插件进行开发。自那时以来,本插件已历经完全重构并在多个方面有所扩展。
Wordpress
I. If you have been using another XML Sitemap plugin before, check your site root and remove any created sitemap.xml, sitemap-news.xml and (if you're not managing this one manually) robots.txt files that remained there.
II. Install plugin by:
Quick installation via
Covered Web Services !
… 或者 …
Search for "xml sitemap feed" and install with that slick
Plugins > Add New admin page.
… OR …
依照如下步骤:
- 下载档案
- Upload the zip file via the Plugins > Add New > Upload page … OR … unpack and upload with your favourite FTP client to the /plugins/ folder.
III. Activate the plugin on the Plugins page.
搞定!现在你可以通过浏览器或任何在线 XML 站点地图验证器访问 yourblog.tld/sitemap.xml 来检查你的闪闪发亮的全新 XML 站点地图。你可能同时也想要检查你的站点地图是否已收录于你的 yourblogurl.tld/robots.txt 文件中,别忘了。
WordPress 3+ 多站点模式
Same as above but do a
Network Activate to make a XML sitemap available for each site on your network.
Installed alongside
WordPress MU Sitewide Tags Pages, XML Sitemap Feed will
not create a sitemap.xml nor change robots.txt for any
tag blogs. This is done deliberately because they would be full of links outside the tags blogs own domain and subsequently ignored (or worse: penalised) by Google.
卸载
Upon uninstalling the plugin from the Admin > Plugins page, plugin options and meta data will be cleared from the database. See notes in the uninstall.php file.
On multisite, the uninstall.php
can loop through all sites in the network to perform the uninstalltion process for each site. However, this does not scale for large networks so it
only does a per-site uninstallation when
define('XMLSF_MULTISITE_UNINSTALL', true);
is explicitly set in wp-config.php.