Redirecting to latest version #31
Labels
issue: enhancement
Issue suggesting an enhancement to an existing feature
Issue: help wanted
Looking for someone to tackle this issue
severity: low
If the issue only affects a very niche base of users and an easily implemented workaround can solve
Description
Hey guys, really love your package. Still a bit of a ways to got but getting there. I was trying to implement my own redirects, as currently, the shown version displays the Published page, I was trying to set it so when a versioned type is clicked in Content Manager. it would display the most recent version by forcing a redirect, which is how most of our CMS's work.
Is there any way you could recommend how I approach this?
Code snippets
So, I made some middleware that does almost exactly what I want. Only problem is when you redirect within selecting a react link it doesn't do a proper redirect. It will just replace the content of what is in the text fields, which works.... until you select publish. here's the middleware code.
Any other suggestions or recommendations are welcome
The text was updated successfully, but these errors were encountered: