Lightweight Sitemap Generator
XML sitemap generator for WordPress with file or dynamic mode. Supports all public post types and taxonomies. Optional Google News sitemap.
Solid choice
Lightweight Sitemap Generator is a solid plugin choice in 2026, with a few things worth checking first. It runs on 100+ sites, is rated 5/5 and was last updated 2 months ago, and scores 71/100 on our health check.
- Tested with the latest WordPress (7.1)
- Small user base (100+ active installs)
- Very few reviews so far
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where Lightweight Sitemap Generat… stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| >100 | |
| site map | >100 |
| sitemap | #39 |
| xml sitemap | #39 |
| yandex | #68 |
Version adoption
Share of active sites per release.
Rating breakdown
★★★★★★★★★★ 5 from 1 reviews
About Lightweight Sitemap Generator
From the official readme · v1.0.30Description
Lightweight Sitemap Generator is a minimal WordPress plugin that creates a valid XML sitemap for search engines (Google, Yandex and others), fully compliant with sitemaps.org.
Main features:
- Generates a valid
sitemap.xml(or wp-sitemap.xml) with proper<loc>and<lastmod>tags (ISO-8601 UTC format) - Unified structure for posts, pages, products, built-in taxonomies, and detected public third-party taxonomies
- Global chronological order (newer → older)
- Automatic duplicate prevention across all sources
- Manual URL controls: add same-site custom URLs with optional
<lastmod>dates to the regular sitemap, and exclude exact URLs from regular and Google News sitemaps - Automatically generated WordPress URLs take precedence over matching Custom URLs; Excluded URLs always take precedence over both
- Two modes:
- File mode — creates a static sitemap in the site root (minimal server load)
- Dynamic mode — builds sitemap on-the-fly (always up to date, cached with TTL)
- Clean and minimal settings page in WP Admin:
- Enable or disable posts, pages, categories, tags, authors, archives
- Supports WooCommerce products, DW Q&A, and all detected custom post types/taxonomies
- Homepage is included automatically unless it is explicitly excluded
- Flexible
<lastmod>for homepage:- Smart — based on the most recently updated content
- Conservative — static front-page date
- Fast — current time on each generation
- Optional sitemap splitting (up to 50 000 URLs per part) with automatic sitemap index
- Google News: Optional separate
news-sitemap.xmlfor Google News with 48-hour news window and 1,000 URLs per file - Two independent generation engines — optimized for both regular and ultra-large sites
- Safe caching with TTL and diagnostic comments (HIT / MISS / timing)
- HTTP header support:
- Sends correct Content-Type, Last-Modified, Cache-Control, and ETag headers
- Optional X-Robots-Tag: noindex, follow header for sitemap requests
- Security and reliability:
- Capability checks and nonce validation
- Strict sanitization and option whitelisting
- File operations via
WP_Filesystem(with safe fallback) - No external requests
Credits
Created by Andrey Berestov
Installation
- Upload the plugin folder to
/wp-content/plugins/or install via Plugins → Add New. - Activate the plugin in the WordPress admin.
- A new menu item Lightweight Sitemap will appear in the admin sidebar. Open it, configure the options you need, and click Generate / Update sitemap.
- Your sitemap will be available at:
https://example.com/sitemap.xml
Changelog
Improves URL-control edge cases and empty-sitemap handling without changing existing sitemap modes.
1.0.30
- Hardened empty-sitemap handling in file and dynamic modes.
- Improved Custom URL validation for subdirectory sites and plain permalinks.
- Added request-level cache invalidation debounce and versioned storage upgrades.
1.0.29
- Fixed stale file cleanup when exclusions leave no regular sitemap URLs.
- Native WordPress URLs now take precedence over matching Custom URLs.
- Improved dynamic cache generations without multiplying transient keys.
- Hardened URL normalization and internal option initialization.
1.0.28
- Added Custom URLs and Excluded URLs controls with shared normalization and duplicate handling.
- Applied exclusions consistently to file, dynamic, split, preview, and Google News output.
- Fixed streaming generator fallback and global author/date ordering.
- Excluded password-protected posts from sitemap output.
- Improved cache invalidation for large split sitemaps and cleaned obsolete code.
- Improved uninstall cleanup and WordPress 7.1 i18n compatibility.
1.0.25
- Reworked the sitemap URL copy action into a cleaner translated text link in the admin UI.
- Removed icon-specific copy button styling and simplified the related CSS.
1.0.24
- Added a dedicated Debug options section for diagnostic and development-related settings.
- Added copy-to-clipboard buttons next to the sitemap URLs in the admin screen.
1.0.23
- Reduced UI text verbosity.
- Improved section alignment and layout balance.
- Enabled Preview auto-calc by default.
- Added AJAX for Recalculate and Scan.
- Added Google News file state tracking.
- Minor admin UI spacing and typography polish.
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.
Best Lightweight Sitemap Generator alternatives
All google plugins →FAQ
Lightweight Sitemap Generator: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is Lightweight Sitemap Generator free?
Yes. Lightweight Sitemap Generator is free to download and use from the official WordPress.org plugin directory.
Is Lightweight Sitemap Generator safe to use in 2026?
Lightweight Sitemap Generator is a solid plugin choice in 2026, with a few things worth checking first. It runs on 100+ sites, is rated 5/5 and was last updated 2 months ago, and scores 71/100 on our health check.
How many websites use Lightweight Sitemap Generator?
Lightweight Sitemap Generator is active on 100+ WordPress websites and has been downloaded 3,202 times since it launched in September 2025. It was downloaded 353 times in the last 30 days.
Does Lightweight Sitemap Generator work with WordPress 7.1?
Yes. The developer has tested Lightweight Sitemap Generator up to WordPress 7.1.5, the latest release. It requires WordPress 4.8 or newer.
What PHP version does Lightweight Sitemap Generator need?
Lightweight Sitemap Generator requires PHP 7.0 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Lightweight Sitemap Generator last updated?
The latest version, 1.0.30, was released on September 20, 2026 (2 months ago).
Who makes Lightweight Sitemap Generator?
Lightweight Sitemap Generator is developed and maintained by andreyberestov.
What are the best alternatives to Lightweight Sitemap Generator?
The most popular alternatives to Lightweight Sitemap Generator are Site Kit by Google (5M+ installs), Google for WooCommerce (800K+ installs) and GA Google Analytics (400K+ installs).
Powered by PageForge
One template and a spreadsheet. A real page for every search.
PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.
- CSV and XLSX, plus Google Sheets on Professional and Enterprise
- Its own title, URL, SEO fields and schema for every page
- Works with the block editor, Elementor, Divi and Avada
- Free on WordPress.org, no credit card


