Skip to content

Commit

Permalink
Improved documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
tbuteler committed Aug 4, 2016
1 parent e010acd commit f5b814f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme.md
Expand Up @@ -17,7 +17,7 @@ Clumsy\Sitemap\SitemapServiceProvider::class,


## Usage ## 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: 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:


Expand Down

0 comments on commit f5b814f

Please sign in to comment.