File tree Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,15 @@ Now run following terminal command from your Laravel 4 App root:
43
43
44
44
### Configuration
45
45
46
- If you want to define a fixed protocol and domain you'll need to configure this package.
46
+ Here's a quick overview of the options SEO Aggregator provides:
47
+
48
+ * Fix Protocol and Host
49
+
50
+ * Eloquent Model Field Settings
51
+
52
+ Have a look at the file src/config/config.php for more information.
53
+
54
+ #### How can I customize the Configuration?
47
55
48
56
Publish the configuration so you can make changes:
49
57
Original file line number Diff line number Diff line change @@ -34,9 +34,10 @@ accessed once needed.
34
34
// Add the Collection with a URL Prefix (The prefix can be omitted)
35
35
Sitemap::addCollection($collection, 'prefix');
36
36
37
- You can do this anywhere in your App but be aware... The Eloquent Model must have a field called 'slug' and the
38
- 'updated_at' field for this to work. If you run into trouble you could always do a foreach() with single Links
39
- thought...
37
+ You can do this anywhere in your App but be aware... The Eloquent Model must have fields providing the data for the
38
+ <loc >...</loc > and <lastmod >...</lastmod > tags. (Defaults are 'slug' and 'updated_at') You can set the field names in
39
+ the configuration if your database schema differs from the defaults. If you run into trouble you could always do a
40
+ foreach() with single Links thought...
40
41
41
42
#### Output will be something like this:
42
43
You can’t perform that action at this time.
0 commit comments