I’ve a front-end dashboard for editors, and if the editor is just not logged in, I need the url to redirect to the homepage. The dashboard has a number of sub-pages, and I need all of them to redirect.
E.g. If the url accommodates area.com/dashboard/* redirect to the homepage.
Whats one of the simplest ways to attain this?
Thanks!