Download the PHP package automattic/msm-sitemap without Composer

On this page you can find all versions of the php package automattic/msm-sitemap. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package msm-sitemap

Metro Sitemap

Stable tag: 1.5.3
Requires at least: 5.9
Tested up to: 6.8
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: sitemap, xml, seo, performance, multisite
Contributors: metro, automattic, alleyinteractive, makermedia, 10up

High-performance XML sitemaps for large-scale WordPress sites. Built for speed, extensibility, and reliability. Metro Sitemap generates robust, scalable XML sitemaps for WordPress sites of any size. Designed for high-traffic and enterprise environments, it ensures your content is discoverable by search engines without slowing down your site.

At a Glance

Installation

  1. Upload the plugin folder to /wp-content/plugins/ or install via the WordPress admin.
  2. Activate the plugin through the 'Plugins' menu in WordPress.
  3. (Optional) Visit Tools > Sitemap in the admin for stats and manual actions.
  4. Sitemaps will be generated automatically in the background.

Usage

Automatic Updates

By default, automatic sitemap updates are disabled to prevent resource issues on large sites. To enable automatic updates:

Via Admin UI:

  1. Go to Tools > Sitemap in your WordPress admin
  2. In the "Cron Management" section, click "Enable Automatic Updates"
  3. Once enabled, you can use the "Generate" section to manually trigger sitemap generation

Via WP-CLI:

Important: Automatic updates can use significant resources on sites with many posts. For large sites, consider using date-targeted WP-CLI commands instead (see below).

Frequently Asked Questions

Why isn’t my custom post type included in the sitemap?

By default, only the post post type is included. To add custom post types (like page, news, or others), see the Developer Guide.

How do I include posts with a custom status?

By default, only published posts are included. You can change this via a filter. See the Developer Guide.

How do I regenerate the sitemap?

Sitemaps are generated automatically, but you can:

Does it work on multisite?

Yes! Each site in your network will have its own sitemaps. The plugin can be network-activated.

How do I exclude specific posts or dates?

You can filter which posts or dates appear in the sitemap using hooks—see the Developer Guide.

Where is the sitemap stored?

Sitemap XML is stored in a custom post type (msm_sitemap) and served on-demand for fast performance.

Can I customize the number of posts per sitemap?

Yes, this is filterable. See the Developer Guide.

How do I disable the XSL styling for sitemaps?

If you want to serve plain XML without browser styling, you can disable the XSL stylesheet references:

For more XSL customization options, see the Developer Guide.

WP-CLI Commands

Metro Sitemap supports advanced management via WP-CLI. Here are the most common commands:

Core Commands

Cron Management Commands

For the full list of commands, options, and legacy command mapping, see DEVELOPERS.md.

Support

Credits

Metro Sitemap is a joint collaboration between Metro.co.uk, WordPress VIP, Alley Interactive, Maker Media, 10up, and others. Special thanks to all contributors.

Changelog

See CHANGELOG.md for a full history of changes.

License

GPLv2 or later. See LICENSE for details.

Developer Documentation

For advanced customization, see DEVELOPERS.md.


All versions of msm-sitemap with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
composer/installers Version ~1.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package automattic/msm-sitemap contains the following files

Loading the files please wait ....