sitemap-validator

0.5.3 • Public • Published

Sitemap-Validator

Validate that both production and development sitemaps work correctly.

Installation

npm install -g sitemap-validator

Usage

Sitemap-Validator has the following options:

  • -l location
  • -c code
  • -s source domain
  • -d destination domain
  • -r enable domain remapping

To validate that the http://www.production.com/sitemap.xml file is working correctly, run the following command:

smv -l http://www.production.com/sitemap.xml -c 200

You can also test a sitemap with production domains in the xml against a staging or development server.

smv -l http://www.production.com/sitemap.xml -c 200 -r -s http://www.production.com -d http://staging.production.com

Package Sidebar

Install

npm i sitemap-validator

Weekly Downloads

1

Version

0.5.3

License

GPL-3.0

Unpacked Size

5.94 kB

Total Files

4

Last publish

Collaborators

  • sandalon