https://github.com/peterfox/seo-demo
The code in this project is an example of how to create root level URLs for dynamic content without causing wildcard clashes
https://github.com/peterfox/seo-demo
Last synced: about 1 year ago
JSON representation
The code in this project is an example of how to create root level URLs for dynamic content without causing wildcard clashes
- Host: GitHub
- URL: https://github.com/peterfox/seo-demo
- Owner: peterfox
- Created: 2017-10-21T21:21:20.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-10-24T23:46:40.000Z (over 8 years ago)
- Last Synced: 2025-04-05T18:50:20.128Z (over 1 year ago)
- Language: PHP
- Homepage: https://medium.com/@SlyFireFox/the-power-of-laravels-route-defaults-for-making-root-level-seo-pages-ae6da1d9fd51
- Size: 292 KB
- Stars: 2
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Laravel SEO Slug Demo
This is a simple project I produced to demonstrate how to make
root level URL slug work with asimple service provider and the
Laravel router's defaults method.
You can read about it in my article
[The Power of Laravel’s Route ‘defaults’ for making
root level SEO pages](https://medium.com/@SlyFireFox/the-power-of-laravels-route-defaults-for-making-root-level-seo-pages-ae6da1d9fd51).
## Running it
To run it simply migrate a database and seeding it. Afterwards
you can run ```php artisan route:list``` which shows all the
routes generated. Try loading one or two of them up after
running ```php artisan serve```