Introduce toLowerCase-Routing
With this release another feature (toLowerCase
-Routing) has been added and the configuration has changed.
toLowerCase-Routing
This will redirect urls from http://dev.local/camelCase/
to http://dev.local/camelcase/
with your configured statusCode.
But be careful: if you have nodes in your instance with camel- or uppercase uriPathSegment
this will run into errors. So make sure to lowercase all of them.
In order to avoid camel- or uppercase uriPathSegment
for new nodes this package will restrict users to use a lowercase uriPathSegment
.
Configuration has changed
Instead of enabling or disabling the seo-routing, you have to pick the components you want to use. Available are:
toLowerCase
trailingSlash
By default toLowerCase
is disabled.
In v1.0.0 there was only trailingSlash
which was enabled like this:
t3n:
SEO:
Routing:
redirect:
enable: true
Now you have to update your setting:
t3n:
SEO:
Routing:
redirect:
enable:
trailingSlash: true
toLowerCase: true