fixes(core): Not redirecting in plugin and site entity views.

Fixes #4439.