Really Simple XML and HTML Sitemap

April 28, 2024

Really Simple XML and HTML Sitemap Plugin

You can add Sitemap on any posts, or pages using the shortcode [rsxh_sitemap] and it also generates an XML Sitemap which will be placed on site root d …

This WordPress Plugin has a really easy way to add a Sitemap for your pages. To show HTML Sitemap on any pages or posts, just use the shortcode [rsxh_sitemap]. You can also place in your templates. This will automatically generate a Sitemap for all pages, posts and custom post type (CPT) posts.

It also generates an XML sitemap which will be placed on your site’s root directory (file name sitemap.xml). XML sitemaps will help search engines like Google, Yahoo and Ask.com to better index your site.

Current features

  • Display all pages, posts and Custom Post Type (CPT) (such as: “facilities”, “books” etc) posts
  • Display a particular post type posts using the attribute “post_types”, like [rsxh_sitemap post_types="page"]
  • Display multiple post type posts using the attribute “post_types”, like [rsxh_sitemap post_types="page,posts,..."]
  • Display only pages and exclude some pages from the list using the attribute “post_types” and “exclude_pages”, like [rsxh_sitemap post_types="page" exclude_pages="3,10,..."]
  • Display all pages, posts with custom post type (CPT) posts and exclude some posts and custom post type (CPT) posts using the attribute “exclude_post_and_custom_post_type_posts”, like [rsxh_sitemap exclude_post_and_custom_post_type_posts="15,18,..."]
  • Easy to use
  • Have the option to customize the way it will be displayed through the admin panel
  • Have the option to exclude some pages, posts or Custom Post Type (CPT) posts
  • Posts displayed hierarchically
  • Translation ready

Installation

  1. Unzip the plugin and upload the really-simple-xml-and-html-sitemap folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. To change/modify plugin settings, go to RSXH Sitemap Settings tab from WordPress admin area
  4. Use the shortcode [rsxh_sitemap] on any page Or echo the shortcode like <?php echo do_shortcode( '[rsxh_sitemap]' ); ?> in your templates file.

Screenshots

FAQ

Does it generate an XML sitemap?

Yes. It will be placed in your site root directory (file name sitemap.xml). XML sitemaps will help search engines like Google, Yahoo and Ask.com to better index your site.

Does it work with Custom Post Type (CPT)?

Yes. It works fine with the Custom Post Type (CPT)

Is it possible to get only the pages, the posts or a Custom Post Type (CPT)?

Yes. It can. You have to use the following shortcode

  • [rsxh_sitemap post_types='page, post'] to display both the pages and posts
  • [rsxh_sitemap post_types='page'] to display only the pages
  • [rsxh_sitemap post_types="post"] to display only the posts
  • You can display Custom Post Type(CPT) using the name of the post type inside the “post_types” attribute. For example: [rsxh_sitemap post_types='facilities'] or [wp_sitemap_page post_types='books']

Have the option to get rid of some specific pages, the posts or Custom Post Type (CPT) posts?

Yes. It is. You have to use the following shortcode

  • [rsxh_sitemap post_types='page, post' exclude_pages='3,10,...'] to display both the pages and posts excluding specific pages
  • [rsxh_sitemap post_types='page' exclude_pages='3,10,...'] to display only the pages excluding specific pages
  • [rsxh_sitemap exclude_pages='3,10,...'] to display all pages, posts and custom post type (CPT) posts excluding specific pages
  • [rsxh_sitemap exclude_post_and_custom_post_type_posts='15,18,...'] to display all pages, posts and custom post type (CPT) posts excluding specific posts and custom post type (CPT) posts
  • [rsxh_sitemap post_types='post' exclude_post_and_custom_post_type_posts='15,18,...'] to display only the posts excluding specific posts
  • You can display Custom Post Type(CPT) using the name of the post type inside the “post_types” attribute. For example: [rsxh_sitemap post_types='facilities' exclude_post_and_custom_post_type_posts='15,18,...'] to display only defined post type posts excluding specific post type posts

Changelog

1.0.0

  • Initial release of Really Simple XML and HTML Sitemap.

1.0.1

  • use wp_schedule_event to generate XML Sitemap in specific interval.

1.0.2

  • fixed bug with empty parameter “exclude_post_type”
  • translation ready

Details

  • Version: 1.0.2
  • Active installations: 100
  • WordPress Version: 4.0
  • Tested up to: 6.5.5

Ratings


5 Stars
4 Stars
3 Stars
2 Stars
1 Stars