{"id":249569,"date":"2025-08-29T11:25:29","date_gmt":"2025-08-29T11:25:29","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/free-news-sitemap-generator-by-kumarharshit-in\/"},"modified":"2025-11-28T08:02:32","modified_gmt":"2025-11-28T08:02:32","slug":"free-news-sitemap-generator-by-kumarharshit-in","status":"publish","type":"plugin","link":"https:\/\/kab.wordpress.org\/plugins\/free-news-sitemap-generator-by-kumarharshit-in\/","author":23357168,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"7.0","stable_tag":"7.0","tested":"6.9.4","requires":"5.0","requires_php":"7.0","requires_plugins":null,"header_name":"XML News Sitemap Generator","header_author":"KumarHarshit.In","header_description":"Automatically generates a real-time, Google News-compatible XML sitemap for posts published within the last 48 hours. Zero server load. Scales to thousands of URLs.","assets_banners_color":"6c546d","last_updated":"2025-11-28 08:02:32","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/kumarharshit.in\/","header_plugin_uri":"https:\/\/kumarharshit.in\/news-sitemap-generator-plugin","header_author_uri":"https:\/\/kumarharshit.in","rating":0,"author_block_rating":0,"active_installs":40,"downloads":554,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"7.0":{"tag":"7.0","author":"kumarharshit","date":"2025-11-28 08:02:32"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3352563,"resolution":"128x128","location":"assets","locale":""}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":3352563,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["7.0"],"block_files":[],"assets_screenshots":{"screenshot-2.png":{"filename":"screenshot-2.png","revision":3352563,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3352563,"resolution":"3","location":"assets","locale":""}},"screenshots":{"1":"screenshot-1.png - Shows the \"\ud83d\udcc4 View News Sitemap\" link in the Plugins page.","2":"screenshot-2.png - Example of the generated Google News XML sitemap for recent posts.","3":"screenshot-3.png - Google Search Console showing the submitted News Sitemap with success status and discovered pages."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[15242,1248,186,1557,748],"plugin_category":[55],"plugin_contributors":[247058],"plugin_business_model":[],"class_list":["post-249569","plugin","type-plugin","status-publish","hentry","plugin_tags-google-news","plugin_tags-news","plugin_tags-seo","plugin_tags-sitemap","plugin_tags-xml","plugin_category-seo-and-marketing","plugin_contributors-kumarharshit","plugin_committers-kumarharshit"],"banners":{"banner":"https:\/\/ps.w.org\/free-news-sitemap-generator-by-kumarharshit-in\/assets\/banner-772x250.png?rev=3352563","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/free-news-sitemap-generator-by-kumarharshit-in\/assets\/icon-128x128.png?rev=3352563","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/free-news-sitemap-generator-by-kumarharshit-in\/assets\/screenshot-2.png?rev=3352563","caption":"screenshot-2.png - Example of the generated Google News XML sitemap for recent posts."},{"src":"https:\/\/ps.w.org\/free-news-sitemap-generator-by-kumarharshit-in\/assets\/screenshot-3.png?rev=3352563","caption":"screenshot-3.png - Google Search Console showing the submitted News Sitemap with success status and discovered pages."}],"raw_content":"<!--section=description-->\n<p>News Sitemap Generator creates a real-time, Google News-compatible XML sitemap for WordPress posts in 1 click.<\/p>\n\n<p><strong>Key Features:<\/strong>\n* Generates sitemap only for posts published within the last 48 hours.\n* Fully automated: zero user setup required after activation.\n* Real-time caching for performance and scalability (30-minute cache by default).\n* Handles all 6 WordPress permalink structures.\n* Compatible with Google News, Search Console, Bing Webmaster, and other search engines.\n* Includes <code>&lt;news:news&gt;<\/code> tags with publication name, language, publication date, and post title.\n* Scales to thousands of posts without server overload.\n* Automatically removes posts older than 48 hours from the sitemap.\n* Easy access via \"\ud83d\udcc4 View News Sitemap\" link in the Plugins page.\n* SEO-friendly and Google News compliant.<\/p>\n\n<p>Ideal for news websites and blogs publishing time-sensitive content who want immediate indexing in search engines.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Go to your WordPress admin dashboard.<\/li>\n<li>Navigate to Plugins &gt; Add New.<\/li>\n<li>In the search bar, type the full plugin name: \n\"XML News Sitemap Generator\".<\/li>\n<li>Click \"Install Now\" on the plugin from the search results.<\/li>\n<li>Activate the plugin.<\/li>\n<li>Ensure your permalinks are set (any structure works; plugin handles all types).<\/li>\n<li>View your sitemap via the \"\ud83d\udcc4 View News Sitemap\" link in the Plugins page, or access directly:\n\n<ul>\n<li>Pretty permalinks: https:\/\/example.com\/kumarharshit-news-sitemap.xml<\/li>\n<li>Plain permalinks: https:\/\/example.com\/?khnsg_news_sitemap=1<\/li>\n<\/ul><\/li>\n<li>No additional configuration required \u2014 the plugin will automatically generate and update the sitemap every 30 minutes (default cache).<\/li>\n<\/ol>\n\n<p><em>Optional (manual installation)<\/em>: Download the plugin zip, upload the <code>news-sitemap-generator-by-kumarharshit-in<\/code> folder to <code>\/wp-content\/plugins\/<\/code>, and activate it.<\/p>\n\n<p>For detailed instructions, screenshots, and updates, visit our plugin page: https:\/\/kumarharshit.in\/news-sitemap-generator-plugin<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id='how%20often%20is%20the%20sitemap%20updated%3F'><h3>How often is the sitemap updated?<\/h3><\/dt>\n<dd><p>The sitemap updates automatically in real time with a safe 30-minute cache (default). No manual work is required.<\/p><\/dd>\n<dt id='does%20it%20support%20all%20wordpress%20permalink%20types%3F'><h3>Does it support all WordPress permalink types?<\/h3><\/dt>\n<dd><p>Yes. The plugin handles all 6 permalink structures and automatically updates rewrite rules if permalinks change.<\/p><\/dd>\n<dt id='can%20i%20use%20this%20on%20a%20news%20website%20with%20thousands%20of%20posts%3F'><h3>Can I use this on a news website with thousands of posts?<\/h3><\/dt>\n<dd><p>Yes. The plugin is optimized for performance and only includes posts from the last 48 hours, so it scales efficiently.<\/p><\/dd>\n<dt id='do%20i%20need%20to%20configure%20anything%20after%20activation%3F'><h3>Do I need to configure anything after activation?<\/h3><\/dt>\n<dd><p>No configuration is required. Once activated, the plugin generates the sitemap automatically and handles caching, cleanup, and updates.<\/p><\/dd>\n<dt id='is%20it%20compatible%20with%20google%20news%20and%20other%20search%20engines%3F'><h3>Is it compatible with Google News and other search engines?<\/h3><\/dt>\n<dd><p>Absolutely. The XML sitemap is Google News-compliant and can be submitted to Google Search Console, Bing Webmaster Tools, and other search engines.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>7.0<\/h4>\n\n<ul>\n<li>Fixed critical bug where sitemap showed error on the first visit after cache expiry.<\/li>\n<li>Fixed issue where sitemap didn\u2019t update correctly when posts became older than 48 hours or when new posts were published.<\/li>\n<li>Improved caching mechanism (default 30 minutes) for better stability and scalability.<\/li>\n<li>More reliable real-time updates without broken XML errors.<\/li>\n<\/ul>\n\n<h4>2.0<\/h4>\n\n<ul>\n<li>Fixed \u201cheaders already sent\u201d bug affecting first sitemap load after publishing posts.<\/li>\n<li>Improved cache handling for real-time updates.<\/li>\n<li>Minor stability fixes, no feature changes.<\/li>\n<li>Automatic real-time Google News sitemap generation.<\/li>\n<li>Supports posts published within the last 48 hours only.<\/li>\n<li>Full support for all WordPress permalink types.<\/li>\n<li>5-minute caching for performance and scalability.<\/li>\n<li>Sitemap accessible from plugin action link.<\/li>\n<li>SEO-friendly and Google News compliant.<\/li>\n<\/ul>","raw_excerpt":"News Sitemap Generator - Automatically generate a Google News sitemap with zero configuration.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/kab.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/249569","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kab.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/kab.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/kab.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=249569"}],"author":[{"embeddable":true,"href":"https:\/\/kab.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/kumarharshit"}],"wp:attachment":[{"href":"https:\/\/kab.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=249569"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/kab.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=249569"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/kab.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=249569"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/kab.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=249569"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/kab.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=249569"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/kab.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=249569"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}