You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: DOCUMENTATION.md
+13Lines changed: 13 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,6 +44,19 @@ If you wish to use assets in your meta, you can [publish the SEO Pro config](#pu
44
44
45
45
> You may disable the glide preset altogether by setting `'open_graph_preset' => false,` in your config.
46
46
47
+
### Custom Statamic Routes
48
+
49
+
In the case that you're loading a custom [Statamic Route](https://statamic.dev/routing#statamic-routes), you can pass SEO meta directly into the route data param. This allows you to define custom meta on a route-by-route basis in situations without a proper collection entry.
50
+
51
+
```php
52
+
Route::statamic('search', 'search/index', [
53
+
'title' => 'Search',
54
+
'description' => 'Comprehensive Site Search.',
55
+
// ...
56
+
]);
57
+
```
58
+
59
+
47
60
## File Usage
48
61
49
62
For advanced devs, you may bypass the CP and configure your SEO settings through files. There are 3 sorts of values you may save.
0 commit comments