Redirect all pages (404s, search, pages, posts, attachments, archives, etc) to your homepage / frontpage.
Redirection will only take place if the user is not logged in. If you're logged in, no redirection occurs.
Useful for one page websites.
Features:
Redirects all pages to homepage for non-logged in users
Lightweight
No options pages
安装:
Head over to Plugins > Add New in the admin
Search for "Redirect to Home"
Install & activate the plugin
Open one of your pages in an incognito / private window and get redirected to your homepage