[WordPress] 外掛分享: Lightweight Sitemap Generator

WordPress 外掛 Lightweight Sitemap Generator 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「Lightweight Sitemap Generator」是 2025-09-15 上架。
  • 目前有 70 個安裝啟用數。
  • 上一次更新是 2026-01-23,距離現在已有 33 天。
  • 外掛最低要求 WordPress 4.8 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 7.0 以上。
  • 尚未有人給過這款外掛評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

andreyberestov |

外掛標籤

google | yandex | sitemap | site map | xml sitemap |

內容簡介

總結:Lightweight Sitemap Generator 是一款簡單但強大的 WordPress 外掛,能夠為搜尋引擎(Google、Yandex 等)創建符合 sitemaps.org 標準的有效 XML 網站地圖。這個外掛遵循“設置一次,永久適用”的理念:最少設置,最大可靠性。

Q1: Lightweight Sitemap Generator 可為哪些搜尋引擎創建有效的 XML 網站地圖?
A1: Google、Yandex 等搜尋引擎。

Q2: 這款外掛的工作模式有哪兩種?
A2: 檔案模式(sitemap.xml 在站點根目錄)和動態模式(即時更新網站地圖)。

Q3: 哪些項目在 WP Admin 的簡單設置頁面中可以選擇啟用?
A3: 靜態頁面、文章、類別、標籤、日期存檔、作者存檔、問題、產品、自定義文章類型和自定義分類法。

Q4: Lightweight Sitemap Generator 如何處理大型網站地圖?
A4: 將大型網站地圖分成多個部分(每部分最多 50,000 個 URL),並自動生成網站地圖索引。

Q5: 這個外掛如何確保安全性?
A5: 進行使用者權限檢查、Nonce 驗證、選項的消毒和白名單處理、使用 WP_Filesystem 進行檔案操作等安全措施。

原文外掛簡介

Lightweight Sitemap Generator is a minimal yet powerful 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 and tags (ISO-8601 UTC format)
Unified structure for posts, pages, products, and taxonomies
Global chronological order (newer → older)
Automatic duplicate prevention across all sources
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 always included automatically
Flexible 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
Two independent generation engines — optimized for both regular and ultra-large sites
Detects potential conflicts with other sitemap providers and SEO plugins
Shows last generation time (UTC or site timezone)
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 — lightweight and self-contained

Credits
Created by Andrey Berestov

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Lightweight Sitemap Generator」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.0.1 | 1.0.2 | 1.0.3 | 1.0.4 | 1.0.5 | 1.0.6 | 1.0.7 | 1.0.8 | 1.0.9 | trunk | 1.0.10 | 1.0.11 | 1.0.12 | 1.0.13 | 1.0.14 | 1.0.15 | 1.0.16 | 1.0.17 | 1.0.18 | 1.0.19 | 1.0.20 |

延伸相關外掛(你可能也想知道)

  • Yandex.Metrica 》Yandex Metrica, 這是官方免費的 Yandex Metrica WordPress 外掛,可協助您在網站上安裝 Yandex Metrica 標籤並設定傳輸電子商務數據,無需手動編輯網站代碼...。
  • CrawlWP SEO – Instant Search Engine Indexing & SEO Performance Monitor 》IndexNow 是一款小型 WordPress 插件,可在網站內容建立、更新或刪除時快速通知搜索引擎。, 通過控制爬取和索引過程,提升排名,讓搜索引擎知道要關注什麼!,...。
  • RSS for Yandex Turbo 》此外掛可自動在您的網站上建立新的 RSS 訂閱 (或多個訂閱),以完全符合雅虎 "Turbo" 的 技術要求。, 安裝後請務必檢查在 "設定 / 雅虎 Turbo" 中的插件設置。...。
  • Yandex Metrica 》最好的 WordPress Yandex Metrica 外掛程式。, Metrica 是什麼, Metrica 是一個類似 Google Analytics 的分析工具。您可以從 [官方網站] (https://metrica.ya...。
  • YML for Yandex Market 》此外掛程式創建 YML-feed 以在 Yandex Market 及其他地方上傳。此外,此插件也適用於以下用途:, , СберМегаМаркет, Yandex Turbo-pages, Yandex de...。
  • Яндекс Метрика 》這個外掛可以讓您輕鬆在您的網站上插入 Yandex Metrics 計數器代碼。您不需要編輯您的佈景主題檔案,而且即使更改您的活動主題,計數器仍然可以正常運作。, ...。
  • YaMaps for WordPress Plugin 》YaMaps外掛是在你的網站上插入Yandex地圖的最簡單方式。該外掛具有用戶友好的界面。您可以在Yandex地圖上視覺化地放置標記,用鼠標移動它們,更改圖標等等。,...。
  • Yandex Metrica Counter 》這個外掛可以讓您輕鬆地在 WordPress 網站中安裝 Yandex Metrica。, 特色, , 支援舊版本計數器;, 輕鬆管理計數器的追蹤選項;, 支援 Webvisor 2.0;, 支援烏...。
  • Maps from Yandex for Elementor 》這款 Elementor Yandex Maps 外掛可以協助您建立符合 SEO 標準的地圖。這款外掛支援不同的地圖類型(路線圖/衛星圖/混合圖/地形圖)和自訂地圖樣式,輕鬆地在...。
  • Yandex.News Feed by Teplitsa 》Yandex.News Feed by Teplitsa - 本外掛可讓您將網站的材料轉換為 Yandex News 格式,支援 Turbo 頁面。, 此外掛的目標是簡化任何 WordPress 網站與 Yandex.N...。
  • RSS for Yandex Zen 》這個外掛將自動在您的網站上創建符合 Yandex 的技術要求 的新 RSS Feed,提供給 Yandex Zen 服務使用。, 安裝外掛後,請務必檢查 “Yandex Zen 設置 ...。
  • ReCrawler 》ReCrawler is a small WordPress Plugin for quickly notifying search engines whenever their website content is created, updated, or deleted., Improve...。
  • Captcha by Yandex for Contact Form 7 》總結:Yandex Captcha 可以保護您免受垃圾郵件和其他自動濫用的影響。而透過 Contact Form 7 的 Yandex Captcha 整合模組,您可以阻止垃圾機器人提交惡意表單...。
  • Yandex Mail SMTP Server for WordPress 》Yandex Mail SMTP Server for WordPress 可以使你配置和發送所有的電子郵件通過 Yandex SMTP 服務器而不是 PHP mail()。這可以保證你的電子郵件被準確發送,...。
  • Original texts Yandex WebMaster 》Яндекс停止支援「原始文字」服務。插件將不能再執行其功能,並且即將被刪除。, 與「Яндекс原始文字」服務互動的完全免費外掛程式, 「Original texts Yandex W...。

文章
Filter
Apply Filters
Mastodon