=== Only Admin Access ===
Contributors: startnet
Donate link: https://startnet.co.uk
Tags: homepage,redirects,admins
Requires at least: 3.0.1
Tested up to: 5.5.1
Stable tag: 1.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

A very simple plugin that redirects all non-admin visitors to the homepage or a page your choice, whilst still allowing admin access to edit/view the site.

== Description ==

A very simple plugin that redirects all non-admin visitors to the homepage or a page of your choice.
It still allows full accesss to the wp-admin login page.
Anyone logged in with admin access can view and edit the entire site as usual.

This may be useful if you are developing a site, but only want visitors to see a landing page.

You can also choose whether 404 pages are sent to the regular 404 page or the home page as well. This could be useful for redirecting Google links.

== Installation ==

1. Install Only Admin Access from the Wordpress Plugin Directory or if that doesn't work:
2. Upload the 'only_admin_access' files to your `/wp-content/plugins/` directory
3. Activate the plugin through the 'Plugins' menu in WordPress
4. Edit any by going to Settings menu and choosing Only Admin Access.

== Frequently Asked Questions ==

= Can I still login to the admin panel? =

Yes, the wp-admin login page will still work correctly, allowing you to login to the dashboard.

= Can I choose the page to redirect to? =

Yes you can choose any page you like.

= Does this include 404 pages? =

Yes all you can choose where 404 pages go in the settings.

== Changelog ==

= 1.0 =
* Initial working version of the plugin.