Skip to content
Permalink
Browse files

Improved documentation

  • Loading branch information...
tbuteler committed Aug 4, 2016
1 parent e010acd commit f5b814f5a6d508f0fb3f2d1032aa9190be6fe5c4
Showing with 1 addition and 1 deletion.
  1. +1 −1 readme.md
@@ -17,7 +17,7 @@ Clumsy\Sitemap\SitemapServiceProvider::class,

## Usage

The package automatically creates a route to resolve http://example.com/sitemap.xml for you. If there are no URLs to insert on your sitemap.xml or an error occurs while parsing them, a `404` error will be thrown.
The package automatically creates a route to resolve http://example.com/sitemap.xml for you. If there are no URLs to insert on your `sitemap.xml` or an error occurs while parsing them, a `404` error will be thrown.

In order to add URLs to your sitemap, add a `sitemap.php` file inside the `app/Http` folder of your Laravel app. Inside, return an array with the desired URLs. For example:

0 comments on commit f5b814f

Please sign in to comment.
You can’t perform that action at this time.