XML Sitemap & Google News feeds

Wordpress Plugin
Download latest - 5.3.3

Developers

deployer
RavanH

Download Stats

Today 1,775
Yesterday 2,357
Last Week 22,430
All Time 1,048,833
Banner 772x250

This plugin dynamically creates dynamic feeds that comply with the XML Sitemap and the Google News Sitemap protocol. Multisite, Polylang and WPML compatible and there are no static files created.

There are options to control which sitemaps are enabled, which Post Types and archive pages (like taxonomy terms and author pages) are included, how Priority and Lastmod are calculated, who to ping and a possibility to set additional robots.txt rules from within the WordPress admin.

The main advantage of this plugin over other XML Sitemap plugins is simplicity. No need to change file or folder permissions, move files or spend time tweaking difficult plugin options.

You, or site owners on your Multisite network, will not be bothered with overly complicated settings like most other XML Sitemap plugins. The default settings will suffice in most cases.

An XML Sitemap Index becomes instantly available on yourblog.url/sitemap.xml (or yourblog.url/?feed=sitemap if you're not using a 'fancy' permalink structure) containing references to posts and pages by default, ready for indexing by search engines like Google, Bing, Yahoo, AOL and Ask. 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. Both are automatically referenced in the dynamically created robots.txt on yourblog.url/robots.txt to tell search engines where to find your XML Sitemaps. Google and Bing will be pinged on each new publication.

Please read the FAQ's for info on how to get your articles listed on Google News.

Compatible with caching plugins like WP Super Cache, W3 Total Cache and Quick Cache that cache feeds, allowing a faster serving to the impatient (when hungry) spider.

NOTES:

  1. 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.

  2. 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.

Features

  • Compatible with multi-lingual sites using 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 (read: limit) the indexation of various parts of your site and subsequent spread of pagerank across your sites pages.
  • Includes XLS stylesheets for human readable sitemaps.
  • 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.
  • Sitemap with custom URLs optional.
  • Custom/static sitemaps can be added to the index.
  • Works out-of-the-box, even on Multisite installations.
  • Include featured images or attached images with title.
  • Pings Google, Bing & Yahoo on new post publication.
  • Options to define which post types and taxonomies get included in the sitemap.
  • Updates Lastmod on post modification or on comments.
  • Set Priority per post type, per taxonomy and per individual post.
  • Exclude individual posts and pages.

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 to certain post categories.
  • Pings Google on new publications, once per 5 minutes.

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.
  • Ping log - Keep a log of the latest pings to Google with exact date and response status.

Privacy / GDPR

This plugin does not collect any user or visitor data nor set browser cookies. Using this plugin should not impact your site privacy policy in any way.

Data that is published

An XMLSitemap 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

Data actively transmitted to search engines is your sitemap location and time of publication. This happens upon each post publication when at least one of the Ping options on Settings > Writing is enabled. In this case, the selected search engines are alerted of the location and updated state of your sitemap.

Contribute

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.

Credits

XML Sitemap Feed was originally based on the discontinued plugin Standard XML Sitemap Generator by Patrick Chia. Since then, it has been completely rewritten and extended in many ways.


Releases (54 )

Version Release Date Change Log
5.2.7 2020-03-30
  • NEW: Ad Inserter compatibility check
  • NEW: xmlsf_urlset and xmlsf_news_urlset action hooks, thanks to Stanislav Khromov (@khromov)
  • Exclude hierarchical post types from news sitemap
5.2.6 2019-10-19

New action hooks, taxonomy selection bugfix and relative path stylesheets.

=

5.2.5 2019-10-09
  • NEW: xmlsf_tags_after, xmlsf_url_after and xmlsf_news_url_after action hooks
  • FIX: Taxonomy selection not available to new installs
5.2.4 2019-09-17

Bugfixes + Rank Math compatibility warnings.

=

5.2.3 2019-05-17

Bugfix release.

=

5.2.2 2019-04-30

Bugfix release.

=

5.2.1 2019-04-30

= 5.2.2 =

Bugfix release.

5.2 2019-04-29

Major DB query reduction and speed improvements. Bugfixes.

=

5.1.2 2019-04-29
  • FIX: admin notice dismiss button failing
  • FIX: date archive redirect notice showing for inactive post types
  • Plugin support and rate links on plugins page
5.1.1 2019-04-04

Bugfix release: options page and news pings.

=

5.1 2019-03-14

New filter and action hooks. Bugfixes and admin UI improvements.

=

5.0.7 2018-10-25

Bugfix release.

=

4.9.4 2018-05-24

Bugfixes: double content type filtering and missing featured images (thanks @flyerua)

=

4.9.2 2018-05-12

Bugfix release.

=

4.9.1 2018-05-12
  • FIX: double genre terms on upgrade from 4.4, thanks @mouhalves
  • FIX: wp_count_posts uncached and too heavy on large sites, thanks @carlalexander
  • Last-modified response header now linked to Update on comments setting
  • FIX: plugin_basename propagation
4.9 2018-05-08

New FactCheck genre. Remove changefreq tag. Fix permalink issue with Woocommerce account page endpoints.

=

4.8.3 2018-05-06
  • fix get_lastpostdate array/string
  • restore pre PHP5.4 compatibility (popular request)
4.8.2 2018-03-18

Fix get_lastpostdate array/string and restore pre PHP5.4 compatibility (popular request)

=

4.8 2018-03-16

New conditional functions, ping URL, and several bug fixes.

=

4.7.5 2018-03-01
  • FIX: On cache_flush purge also the respective time_key cache entry, props @e2robert https://wordpress.org/support/topic/object-cache-issue-results-in-outdated-last-modified-values-on-index-sitemap/
  • FIX: Variable variable php 7 compat
  • Detect if headers are already sent and print warning in source
4.7.3 2016-07-05

Improved Polylang and WPML compatibility. Various bug fixes.

=

4.7.1 2016-05-06

WPML and PHP 5.3 compatibility.

=

4.7 2016-05-06
  • WPML compatibility
  • FIX: News Sitemap chinese language tag
  • FIX: flush rules on plugin re-activation
4.6.3 2016-05-06
  • NEW: filter xmlsf_custom_sitemaps
  • BUGFIX: empty custom urls sitemap
4.6.2 2016-04-18
  • NEW: filter xmlsf_custom_urls
  • More cleanup
  • BUGFIX: broken Polylang compatibility reported by @zesseb
4.6.1 2016-04-15
  • Code cleanup
  • POT file update
  • Dutch translation update
4.6 2016-03-31

New action hook xmlsf_news_tags_after, attempt to remove conflicting static sitemap files on activation

=

4.5.1 2016-03-31

Fix Persistent/Stored XSS vulnerability on admin page, thanks to Sneha Rajguru @Sneharajguru

=

4.5 2016-01-22

Set access or exclude individual posts from Google News sitemap. Improved cache handling and Nginx Helper compatibility.

=

4.4.1 2015-09-13

Multiple default genres, several bugfixes, dropping Google News old geolocation tag plus XMLSF_POST_TYPE and XMLSF_NEWS_POST_TYPE.

=

4.4 2015-06-16

Google News Sitemap: limit posts to certain categories. Some (query) optimizations and bugfixes.

=

4.3.2 2015-02-20

Custom domains and URLs. Major Google News sitemap settings changes. Plus bugfixes.

=

4.0.1 2013-11-29

Bugfix release.

=

4.2.3 2013-07-22

Bugfix release and split custom post types by year/month

=

4.1.4 2013-04-29

New: Split posts by year to improve generate speed and priority settings. Many new options. Ping search engines. Bugfixes.

=

3.9.2 2012-10-14

Google News stylesheet, bugfixes, WP 3.4 compatibility, basic Polylang compatibility, speed improvement and sticky posts get max priority now

=

3.9.1 2012-02-16

XSS vulnerability fix release.

=

3.9 2010-12-10

Google News Sitemap! And a workaround for memory limit errors for most sites.

=

3.8.8 2010-10-08

Bugfixes: PHP4 compatibility + mu-plugins URL stylesheet

=

3.8.5 2010-09-06
  • xLanguage support based on code and testing by Daniele Pelagatti
  • new FILTER HOOK robotstxt_sitemap_url for any translate and url changing plugins.
  • BUGFIX: Decimal separator cannot be a comma!
3.8.3 2010-08-10
  • filter external URLs inserted by plugins like Page Links To (thanks, Francois)
  • minified sitemap and stylesheet output

  • BUGFIX: qTranslate non-default language home URL

3.8 2010-08-01
  • qTranslate support !
  • no more Sitemap reference in robots.txt on non-public blogs
3.7.4 2010-07-30
  • switch from add_feed (on init) to the do_feed_$feed hook
  • BUGFIX: is_404() condition TRUE and Response Header 404 on sites without posts
  • BUGFIX: is_feed() condition FALSE after custom query_posts
  • BUGFIX: no lastmod on home url when only pages on a site
  • BUGFIX: stylesheet url wrong when WP installed in a subdir
3.7 2010-07-19
  • massive changefreq calculation improvement
  • further priority calulation improvement taking last comment date into account
3.6.1 2010-06-16
  • BUGFIX: wrong date calculation on blogs less than 1 year old
3.6 2010-06-15
  • massive priority calculation improvement
3.5 2010-06-12
  • complete rewrite of plugin internals
  • speed improvements
  • WP 3.0 (normal and MS mode) ready
3.4 2010-06-08
  • bugfix: use home instead of siteurl for blog url for sitemap reference in robots.txt
  • code streamline and cleanup
3.3 2009-10-17
  • automatic exclusion of tags blog in wpmu
3.2 2009-10-07
  • rewrite and add_feed calls improvements
  • bugfix: double entry when static page is frontpage
3.0 2009-09-29
  • added styling to the xml feed to make it human readable
2.1 2009-09-27
  • bugfix: lastmod timezone offset displayed wrong (extra space and missing double-colon)
2.0 2009-09-27
  • priority calculation based on comments and age
  • changefreq based on comments
1.0 2009-09-27
  • changed feed template location to avoid the need to relocate files outside the plugins folder
  • bugfix: get_post_modified_time instead of get_post_time
  • bugfix: rewrite rules causing unlimited amount of sitemap feeds on any url ending with sitemap.xml instead of just one in the root