VIT Sitemap

By vidushiinfotech

0+ active installationsVersion 1.1.0

Create HTML and XML sitemaps for your WordPress site.

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

  1. Upload the vit-sitemap folder to /wp-content/plugins/.
  2. Activate the plugin through the Plugins menu in WordPress.
  3. Open VIT Sitemap and generate the XML sitemap. The WordPress directory must be writable.
  4. 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.xml when posts or pages change, and skip autosaves and unrelated post types.

1.0

  • Plugin launch.