[WordPress] 外掛分享: Lightweight Sitemap Generator

首頁外掛目錄 › Lightweight Sitemap Generator
WordPress 外掛 Lightweight Sitemap Generator 的封面圖片
90+
安裝啟用
尚無評分
6 天前
最後更新
問題解決
WordPress 4.8+ PHP 7.0+ v1.0.24 上架:2025-09-15

內容簡介

Lightweight Sitemap Generator 是一款簡約的 WordPress 外掛,能為搜尋引擎生成有效的 XML 網站地圖,完全符合 sitemaps.org 標準,幫助提升網站的 SEO 表現。

【主要功能】
• 生成有效的 sitemap.xml 或 wp-sitemap.xml
• 支援 WooCommerce 產品及自訂文章類型
• 自動防止重複內容
• 提供靜態與動態兩種模式
• 自動包含首頁及靈活的 <lastmod> 設定
• 支援 Google News 的獨立新聞網站地圖

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.24) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Lightweight Sitemap Generator」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

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 and 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
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
Google News: Optional separate news-sitemap.xml for 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

延伸相關外掛

文章
Filter
Apply Filters
Mastodon