Dynamically generates a Google News Sitemap. Multisite compatible.
|Author:||Tim Brandon (profile at wordpress.org)|
|WordPress version required:||2.6|
|WordPress version tested:||3.1.4|
|Added to WordPress repository:||25-01-2011|
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|Total downloads:||31 288|
|Active installs:||1 000+|
Click to start download
This plugin dynamically creates a feed that comply with the Google News Sitemap protocol. There are no options to neither be set nor file or dir access rights to be tampered with and the sitemap become instantly available. Google News Sitemap will be reachable at example.com/sitemap-news.xml (or example.com/?feed=sitemap-news), ready for indexing by Google News.
Compatible with WordPress MU
Compatible with caching plugins like Super Cache, W3 Total Cache and Quick Cache that cache feeds.
The plugin is based on XML Sitemap & Google News Sitemap Feeds plugin by RavanH (http://wordpress.org/extend/plugins/xml-sitemap-feed/). XML Sitemap Feed was originally based on the (discontinued?) plugin Standard XML Sitemap Generator by Patrick Chia.
It says that the plugin will dynamically create Google News Sitemap. Will it slow down my blog?
Not at all. Google News will be fetching your blog sitemap just several times per day. The plugin sends titles and dates for the latest posts and it is a very quick transaction.
Can I run this on a WPMU / WP3+ Multi-Site setup?
Yes. In fact, it has been designed for it. Tested on WPMU 2.9.2 and WPMS 3.0.4 both with normal activation and with Network Activate / Site Wide Activate.
Can I run this on a WordPress single site setup?
Does it support different languages?
Yes. Please make sure to properly set Rss Language in Site options. It should be an ISO 639 Language Code (2 letters).
Exception: For Chinese, please use zh-cn for Simplified Chinese or zh-tw for Traditional Chinese.
Can I run this plugin from /mu-plugins/ on WP3.0 MS or WPMU ?
Yes. Upload the complete /xml-sitemap-feed/ directory to /wp-content/mu-plugins/ and move the file xml-sitemap.php one dir up.
My Google News Sitemap is empty!
A News Sitemap lists news articles which have been published on your site within the past two days.
Do I need to change my robots.txt?
You can tell Google News about your Sitemap by adding the following line to your robots.txt file (updating the sample URL with the complete path to your own Sitemap):
The best option is to submit the sitemap via Google Webmaster Tools. Please read News Sitemaps: Submitting a News Sitemap.
Do I have to use it in order to be included to Google News?
It is not the requirement but highly recommended by Google. Please read News Sitemaps.
Where can I find more information on Google News?
How do I get my latest articles listed on Google News?
Go to Suggest News Content for Google News and submit your website.
You will also want to add the sitemap to your Google Webmasters Tools account to check its validity and performance.
How can I check that my site is on Google News?
Then type site:example.com and click ‘Search News’ button. (Replace example.com will your blog or website URL)
If results are displayed, implies blog is included in Google News index otherwise you can apply for inclusion.
My WordPress powered blog is installed in a subdirectory. Does that change anything?
That depends on where the index.php and .htaccess of your installation reside:
If they are in the root while the rest of the WP files are installed in a subdir, so the site is accessible from your domain root, you do not have to do anything.
If the index.php is together with your wp-config.php and all other WP files in a subdir, meaning your blog is only accessible via that subdir, you need to manage your own robots.txt file in your domain root. It has to be in the root (!) and needs a line starting with
Sitemap:followed by the full URL to the sitemap feed provided by XML Sitemap Feed plugin. Like:
If you already have a robots.txt file with another Sitemap reference like it, just add the full line below or above it.
I see no sitemap-news.xml file in my site root!
The sitemap is dynamically generated just like a feed. There is no actual file created.
I see a sitemap-news.xml file in site root but it does not seem to get updated!
You are most likely looking at a sitemap-news.xml file that has been created by another XML Sitemap plugin before you started using this plugin. Just remove it and let the plugin dynamically generate it just like a feed. There is no actual file created.
If that’s not the case, you are probably using a caching plugin or your browser does not update to the latest feed output. Please verify.
I use a caching plugin but the sitemap is not cached
Some caching plugins have the option to switch on/off caching of feeds. Make sure it is turned on.
Frederick Townes, developer of W3 Total Cache, says: “There’s a checkbox option on the page cache settings tab to cache feeds. They will expire according to the expires field value on the browser cache setting for HTML.”
I get an ERROR when opening the sitemap!
The following errors might be encountered:
404 page instead of my sitemap-news.xml
Try to refresh the Permalink structure in WordPress. Go to Settings > Permalinks and re-save them. Then reload the XML Sitemap in your browser with a clean browser cache. ( Try Ctrl+R to bypass the browser cache — this works on most but not all browsers. )
I like the plugin! It brought me tons of traffic from Google News!
Donate via PayPal. Any amount will help to keep the code updated. Thank you!
- Includes categories in keywords. Uncategorized category is omitted.
- Properly shows titles with special characters.
- Database request tune up for blogs with more than 1000 posts for last 2 days.
- Based on XML Sitemap & Google News Sitemap Feeds plugin v.3.9.1.