Description
VIT Sitemap creates an HTML sitemap for visitors and an XML sitemap for search engines.
Add the [vit_sitemap_generator] shortcode to a page for the HTML sitemap. Use the VIT Sitemap menu to generate sitemap.xml in the site root. The file is rebuilt when a post or page is published, updated, or deleted.
WordPress also serves its own sitemap at wp-sitemap.xml. This plugin writes a separate sitemap.xml file and does not replace the core sitemap.
Installation
- Upload the
vit-sitemapfolder to/wp-content/plugins/. - Activate the plugin through the Plugins menu in WordPress.
- Open VIT Sitemap and generate the XML sitemap. The WordPress directory must be writable.
- Add the shortcode
[vit_sitemap_generator]to a page for the HTML sitemap.
FAQ
How do I show the HTML sitemap?
Add the shortcode [vit_sitemap_generator] to a page or post.
Where is the XML sitemap?
After you generate it, the file is available at https://example.com/sitemap.xml.
Screenshots
Changelog
1.1.0
- Tested with WordPress 7.1. Requires WordPress 6.5 and PHP 7.4.
- Write a valid XML sitemap. Each URL is stored in
loc, with the real last modified time. - Fix the Settings link on the Plugins screen.
- Open HTML sitemap page links with the current WordPress page-list markup.
- Save HTML settings with sanitization, including turning “open in a new tab” back off.
- Rebuild
sitemap.xmlwhen posts or pages change, and skip autosaves and unrelated post types.
1.0
- Plugin launch.

