dev-master
9999999-dev http://github.com/itavero/RouterUnslashBundleThis Bundle redirects user who have mistyped the URL a bit
MIT
The Requires
- php >=5.3.2
- symfony/framework-bundle ~2.3
by Arno Moonen
redirect ux
This Bundle redirects user who have mistyped the URL a bit
When I tested one of my websites with Nibbler it gave the following useful advice:, (*2)
Adding or removing a trailing slash to all URLs of this site returns an error page . This is OK as no content is being duplicated, but visitors might try browsing to the pages of this website with or without a trailing slash. Ideally, the alternate URL should redirect to the correct page., (*3)
So I created this easy bundle that automates these kind of redirects., (*4)
Below you will find the default configuration, (*5)
# Router Unslash amnl_router_unslash: permanent: false # True = 301, False = 302 public: true # Public cache? maxage: 1800 # Cache-Control max-age smaxage: 21600 # Cache-Control s-maxage
This Bundle redirects user who have mistyped the URL a bit
MIT
redirect ux