
內容簡介
Really Simple XML and HTML Sitemap 外掛幫助您為 WordPress 網站生成 SEO 友好的 HTML 和 XML 網站地圖。您可以使用短碼或內建的 Gutenberg 區塊在網站上顯示可自訂的 HTML 網站地圖,同時自動生成 XML 網站地圖以供搜尋引擎使用。
【主要功能】
• 使用短碼生成 HTML 網站地圖
• 使用 Gutenberg 區塊生成 HTML 網站地圖
• 自動生成 XML 網站地圖
• 支援 WooCommerce 產品
• 可排除特定頁面或文章
• 支援 WPML 和 Polylang 多語言網站
外掛標籤
開發者團隊
② 後台搜尋「Really Simple XML and HTML Sitemap」→ 直接安裝(推薦)
原文外掛簡介
Really Simple XML and HTML Sitemap helps you generate SEO-friendly HTML and XML sitemaps for your WordPress website.
Display a customizable HTML sitemap anywhere on your website using either a Shortcode or the built-in Gutenberg Block while automatically generating XML sitemaps for search engines such as Google and Bing.
The plugin supports Posts, Pages, WooCommerce products, Public Custom Post Types (CPTs), multilingual websites using WPML and Polylang, and includes REST API endpoints for headless WordPress applications.
You can display an HTML sitemap by using either:
Shortcode:
[rsxh_sitemap]
or by inserting the “RSXH Sitemap” Gutenberg Block in the Block Editor.
You can also place the shortcode directly inside your theme:
XML sitemap files are generated automatically and can be submitted to search engines to improve content discovery and indexing.
Free Features
Generate HTML Sitemap using a Shortcode
Generate HTML Sitemap using a Gutenberg Block
PHP-only Gutenberg Block (no JavaScript build required)
Customize search form spacing (margin & padding)
Generate XML Sitemap
Generate XML Sitemap Index
Built-in REST API endpoints for sitemap data
Support for Posts
Support for Pages
Support for Public Custom Post Types
WooCommerce Compatible
Hierarchical content display
Display specific post types using Shortcode or Block attributes
Display multiple post types using Shortcode or Block attributes
Exclude specific pages from HTML sitemap
Exclude specific posts and custom post type entries
Exclude specific post types from sitemap output
Optional search form in HTML sitemap
Support for large websites through sitemap splitting
WPML multilingual support
Polylang multilingual support
Generate hreflang alternate language links in XML sitemaps
Translation Ready
Lightweight and easy to use
Premium Sitemap Features
Generate Image Sitemaps
Generate Video Sitemaps
Generate Category Sitemaps
Generate Tag Sitemaps
Generate Custom Taxonomy Sitemaps
Automatic Robots.txt Sitemap Integration
Choose sitemap storage location (Root or Uploads)
Premium Gutenberg Block Controls:
** Display post featured images
** Display post count
** Display last modified date
** Sort by Title, Date or Modified Date
** Ascending / Descending ordering
** Collapsible content sections
** Display search form
** Customize block columns and responsive mobile columns
** Customize column spacing
Additional XML sitemap types for enhanced search engine indexing
Shortcode Examples
Display all enabled content types:
[rsxh_sitemap]
Display pages and posts only:
[rsxh_sitemap post_types=”page,post”]
Display pages only:
[rsxh_sitemap post_types=”page”]
Display posts only:
[rsxh_sitemap post_types=”post”]
Display a specific custom post type:
[rsxh_sitemap post_types=”books”]
Display pages and posts while excluding specific pages:
[rsxh_sitemap post_types=”page,post” exclude_pages=”3,10″]
Display all content while excluding specific pages:
[rsxh_sitemap exclude_pages=”3,10″]
Exclude specific posts or custom post type entries:
[rsxh_sitemap exclude_post_and_custom_post_type_posts=”15,18″]
Display a specific custom post type while excluding selected entries:
[rsxh_sitemap post_types=”facilities” exclude_post_and_custom_post_type_posts=”15,18″]
REST API Endpoints
The plugin includes REST API endpoints that make it easy to integrate your sitemap with headless WordPress applications, external services, or custom front-end frameworks.
Available endpoints:
/wp-json/rsxh/v1/sitemap-index — Retrieve sitemap index information.
/wp-json/rsxh/v1/sitemaps — List all generated sitemap files.
/wp-json/rsxh/v1/html-sitemap — Retrieve HTML sitemap data in JSON format.
/wp-json/rsxh/v1/generate — Regenerate sitemap files (Administrator permission required).
