Lightweight Sitemap Generator
Lightweight XML sitemap generator: file or dynamic mode; supports pages, posts, taxonomies, archives, WooCommerce, DW Q&A.
Next Milestone 60
Unlock Exact Install Count
See the precise estimated active installs for this plugin, calculated from real-time ranking data.
- Exact install estimates within tiers
- Track install growth over time
- Milestone progress predictions
Rank Changes
Downloads Growth
Upgrade to Pro
Unlock 30-day, 90-day, and yearly download history charts with a Pro subscription.
Upgrade NowReviews & Ratings
Tracked Keywords
Showing 4 of 4| Keyword | Position | Change | Type | Updated |
|---|---|---|---|---|
| xml sitemap | 49 | — | Tag | 11 hours ago |
| yandex | 62 | — | Tag | 11 hours ago |
| sitemap | 75 | — | Tag | 11 hours ago |
| site map | 185 | — | Tag | 11 hours ago |
Unlock Keyword Analytics
Track keyword rankings, search positions, and discover new ranking opportunities with a Pro subscription.
- Full keyword position tracking
- Historical ranking data
- Competitor keyword analysis
Track This Plugin
Get detailed analytics, keyword tracking, and position alerts delivered to your inbox.
Start Tracking FreePlugin Details
- Version
- 1.0.19
- Last Updated
- Dec 04, 2025
- Requires WP
- 4.8+
- Tested Up To
- 6.9
- PHP Version
- 7.0 or higher
- Author
- Andrey Berestov
Support & Rating
- Rating
- ★ ☆ ☆ ☆ ☆ 1
- Reviews
- 0
- Support Threads
- 0
- Resolved
- 0%
Keywords
Upgrade to Pro
Unlock keyword rankings, search positions, and detailed analytics with a Pro subscription.
Upgrade NowSimilar Plugins
Frequently Asked Questions
Common questions about Lightweight Sitemap Generator
Search engines only care that:
- All important URLs are listed.
- Each URL has a correct <loc> and (optionally) <lastmod>.
- The sitemap is valid XML and under the 50,000 URL / 50 MB per file limit.
The plugin keeps one clean sitemap (with automatic split into parts only when necessary). This avoids clutter, reduces confusion for users, and keeps things minimal yet powerful.
Why doesn’t the plugin include "priority" or "changefreq" tags?
These optional fields (<priority> and <changefreq>) were part of the early sitemap protocol but are ignored by all major search engines today.
- Google officially states that these values are not used for crawling or ranking decisions.
- Yandex also ignores them and relies only on <loc> and <lastmod>.
Including these tags gives a false sense of control without actual effect. That’s why the plugin follows the modern standard: only <loc> and <lastmod> are included, which is exactly what search engines expect and trust.
Why doesn't the plugin include images or videos in the sitemap?
This is intentional. Modern search engines such as Google and Yandex are fully capable of discovering images and videos directly from your pages.
Including media entries in the sitemap may significantly increase file size and slow down generation on large sites, without providing real SEO benefits for most users.
The plugin focuses on reliability, performance, and standards compliance — keeping the sitemap lightweight, fast to generate, and easy for search engines to crawl.
If you run a specialized image or video portal and truly need dedicated media sitemaps, you can safely use this plugin alongside other SEO tools that handle media-specific indexing.
Do I need to ping Google or other search engines when the sitemap is updated?
No. Since 2023, Google has officially discontinued support for the legacy ping endpoint.
Search engines now automatically discover and re-fetch sitemap files listed in your robots.txt or previously submitted via Search Console.
Your sitemap will be crawled regularly without any manual “ping”.
Adding extra HTTP requests such as
https://www.google.com/ping?sitemap=https://example.com/sitemap.xml
no longer has any effect and is completely optional.
If you want to ensure fast discovery, just include this line in your robots.txt:
Sitemap: https://example.com/sitemap.xml
DW Question Answer (version 1.4.3.4 and above) — published Q&A pages
Any plugin that registers a public custom post type or public custom taxonomy — detected automatically.
This means the plugin can support almost any third-party extension (portfolio plugins, directory listings, events, job boards, and more), as long as the post type or taxonomy is registered in WordPress as public.
You should see the header X-LWSGP-Mode: dynamic in the response.
If a physical sitemap.xml file exists in the site root, the server may serve it directly (without headers). The plugin will show a warning in the admin panel and let you delete that file.
You can also enable diagnostic comments in the settings.
Do I need to edit robots.txt?
The plugin does not touch your robots.txt automatically.
It is recommended to add the following line manually:
Sitemap: https://example.com/sitemap.xml
This helps search engines (Google, Yandex, Bing, etc.) to discover your sitemap faster.
How can I limit taxonomy calculation for very large sites?
This is an advanced option, not required for normal sites.
By default, the plugin calculates <lastmod> for all selected taxonomy term archives (categories, tags, custom taxonomies) using a single optimized SQL query per taxonomy. This is safe and efficient in most cases.
However, on extremely large sites with tens of thousands of terms, you may want to set a soft cap to avoid heavy database operations.
You can do this with a simple filter in your theme’s functions.php or in a small custom plugin:
add_filter('lwsgp_tax_lastmod_cap', function() {
return 5000; // maximum number of terms per taxonomy for <lastmod>
});
If the number of terms exceeds this cap, the plugin will still include the term URLs in the sitemap, but without <lastmod>. This prevents potential performance issues on very large sites.
How is the sitemap generated?
The plugin supports both File and Dynamic modes, each with its own generation method.
File mode (single or split)
A complete list of URLs is built in memory and then written to disk as static XML files.
This approach has the lowest runtime cost for visitors because the web server serves the files directly.
Dynamic mode (on-the-fly)
The sitemap is generated dynamically when requested and cached for speed.
Dynamic single-file (no split) — builds the full list of URLs in memory and returns a single XML file.
Dynamic + Split — when splitting is enabled, you can choose between two engines:
Dynamic-Single (default) — fast in-memory build for both index and parts; recommended for most sites.
Dynamic-Part-Stream — streaming generation with bounded memory for both index and parts; ideal for very large sites.
Automatic engine fallback
By default, automatic fallback is disabled.
Administrators can enable it by using the filter below:
// Return 0 to disable automatic fallback (default).
// Return a positive integer to enable fallback when total URLs exceed the threshold.
add_filter('lwsgp_dynamic_single_threshold', function () {
return 0; // no automatic fallback by default
});
Both modes produce identical XML output — they differ only in how data is processed and delivered.
What is the "Robots noindex, follow" header and why is it available only in Dynamic mode?
This is an advanced option, intended for SEO-sensitive configurations.
This tells search engines not to index the sitemap itself, but still to follow the links inside it.
In practice, this prevents the sitemap XML from appearing in search results, while ensuring that all listed URLs are still crawled and indexed as usual.
The header is available only in Dynamic mode, because:
In Dynamic mode, sitemaps are served through PHP (not as static .xml files), so the plugin can safely inject custom HTTP headers.
In File mode, the sitemap is a physical XML file on disk. Static files are served directly by the web server (Apache, Nginx, etc.), and PHP cannot modify HTTP headers for them.
If you need the same behavior in File mode, you can manually add this header in your web server configuration, for example in .htaccess:
<FilesMatch "sitemap.*\.xml$">
Header set X-Robots-Tag "noindex, follow"
</FilesMatch>
For most sites, leaving this option disabled is perfectly fine. It is recommended mainly for developers, SEO specialists, or agencies who prefer explicit control over how search engines handle sitemap URLs.