Home » Enable HTML Sitemap
Enable HTML Sitemap

Overview

The following documentation offers step-by-step instructions for enabling and configuring the HTML Sitemap.

Enable HTML Sitemaps

  • Go to the WordPress dashboard and Navigate to the SiteSEO -> Sitemaps.
Wp SiteSEO menu
  •  Enable the 'Sitemaps - SiteSEO' feature if it's not already enabled.
enable sitemap feature
  • Enable the 'Enable HTML Sitemap' option.
enable html sitemap
  • Save the settings.

HTML Sitemap Configuration

  • Access the 'HTML Sitemap' tab.
Html sitemap tab
  • Type in the 'IDs' of the content where you want to show the sitemap, separating IDs with commas.
  • To exclude specific pages, posts, or custom post types, enter their IDs in the exclusion field.
  • Now customize the sort order and order of posts by selecting your preferences from their respective dropdown menus.
  • If you want to disable the display of publication dates in the HTML sitemap, enable option 'Disable date after each post, page, post type?'.
  • If you want to remove links from archive pages, enable option 'Remove links from archive pages'.
Html sitemap config
Note: The content list is automatically generated from the HTML sitemap settings in the Post Types tab.

Display HTML Sitemap with the Block Editor

  • Edit a post, page, or custom post type using the Block Editor.
  • Click the 'Add block' button.
  • Search for 'Sitemap' and locate the 'HTML sitemap' block.
  • Drag and drop the 'HTML sitemap' block into your content.
  • Utilize the right panel options to choose which post types to display and customize the block's appearance.
  • Copy and paste the following shortcode anywhere in your content to showcase the HTML sitemap:
[seopress_html_sitemap]
  • To include specific post types, use the following format:
[seopress_html_sitemap cpt="post, product"]
    Was this page helpful?
    Newsletter Subscription
    Subscribing you to the mailing list