Canonical redirect also working with actions