Dynamically generates a Google News Sitemap. Multisite compatible.
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.
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.
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.
Yes. Upload the complete /xml-sitemap-feed/ directory to /wp-content/mu-plugins/ and move the file xml-sitemap.php one dir up.
A News Sitemap lists news articles which have been published on your site within the past two days.
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.
It is not the requirement but highly recommended by Google. Please read News Sitemaps.
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.
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.
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.
The sitemap is dynamically generated just like a feed. There is no actual file created.
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.
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."
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. )
Donate via PayPal. Any amount will help to keep the code updated. Thank you!