bwp/google-xml-sitemaps

WordPress plugin that helps generate XML Sitemaps for your website/blog. This plugin comes with support for sitemap index, multisite WordPress and Google News sitemap. It also provides a powerful and flexible system for any customization need.

dev-master / 1.4.x-dev 2016-01-14 19:35 UTC

This package is not auto-updated.

Last update: 2024-11-09 19:28:30 UTC


README

A WordPress plugin that makes generating XML Sitemaps for your WordPress site a breeze. This plugin comes with support for sitemap index, multisite WordPress and Google News sitemap. It also provides a powerful and flexible system for any customization need.

See http://betterwp.net/wordpress-plugins/google-xml-sitemaps/ for documentation.

Report issues: https://github.com/OddOneOut/bwp-google-xml-sitemaps/issues

Installation via Composer

This plugin can be installed via composer, by running:

composer require bwp/google-xml-sitemaps

By default, composer will install the plugin to wp-content/plugins.

Development

Apart from composer, you will need npm and bower for development.

To run test, issue the following command:

npm test

To build the plugin in a development environment, issue:

npm run build

To build a production-ready plugin, issue:

npm run build:dist

A dist folder will be created with a version that can be used as a regular plugin on wp.org.

Note that certain files and directories are not needed in production environment, such as configuration files, tests, node modules, and bower components, so they should be removed before updating the plugin's svn repository.

A .svnignore file is provided for this reason, and it can be used with existing tools out there (such as rsync) to remove the above mentioned files.