Redirecting
If you are using versions in your routes and are prefixing with the name of your project, you may want to set up redirects.
/docs/1.x
Using the example above your homepage for that collection will be mapped to the 1.x
, if you wanted to navigate to /docs
this page wouldn't be found.
For this reason we ship Dok with a redirect plugin by the amazing folks at Alt Design.
Simply add a redirect for that URL in the plugins settings page that points to the latest version:
From | To | Type |
---|---|---|
/docs |
/docs/1.x |
302 |