=== Supracorona Login Gate ===
Contributors: supracorona
Tags: login, access control, restrict access, logged in users, private site
Requires at least: 5.0
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Allows only logged-in users to access your WordPress site and redirects logged-out visitors before they can view protected content.

== Description ==

Supracorona Login Gate is a lightweight access control plugin for WordPress.

When enabled, logged-out visitors are redirected before they can view protected site content. You can send visitors to the default WordPress login page or to a custom page of your choice.

Supracorona Login Gate is useful for:

* Internal websites
* Client-only areas
* Team or organization websites
* Development or staging sites that should not be publicly browsed
* Simple login-protected WordPress projects

= Features =

* Restrict site access to logged-in users
* Redirect logged-out visitors to the WordPress login page
* Optionally redirect logged-out visitors to a custom page
* Return users to the page they originally requested after login
* Choose where users go when they log in directly
* Optionally protect RSS feeds
* Simple settings page under Settings → Supracorona Login Gate
* Works independently of the active theme

== Installation ==

1. Upload the plugin files to the `/wp-content/plugins/supracorona-login-gate/` directory, or install the plugin through the WordPress Plugins screen.
2. Activate the plugin through the **Plugins** screen in WordPress.
3. Configure the plugin under **Settings → Supracorona Login Gate**.
4. Enable Supracorona Login Gate and choose your redirect settings.
5. Save settings.

== Frequently Asked Questions ==

= What does Supracorona Login Gate do? =

Supracorona Login Gate restricts access to your WordPress site. When enabled, logged-out visitors are redirected before they can view protected content.

= Can logged-in users still browse the site normally? =

Yes. Logged-in users can view the site normally.

= Where are logged-out visitors redirected? =

You can redirect logged-out visitors to the default WordPress login page or to a custom page.

= Can users return to the page they originally requested after login? =

Yes. When redirecting to the WordPress login page, Supracorona Login Gate can return users to the page they originally tried to visit.

= Can I redirect direct logins to the front page? =

Yes. You can choose whether users who log in directly should go to the WordPress Dashboard or to the site front page.

= Does Supracorona Login Gate protect RSS feeds? =

Yes, if feed protection is enabled.

When feed protection is enabled, logged-out visitors are redirected before feed content can be viewed. When feed protection is disabled, RSS feeds remain publicly accessible.

= Can I whitelist individual pages? =

Not in this version. Supracorona Login Gate is designed as a simple site-wide access plugin.

= Does it work with any theme? =

Yes. Supracorona Login Gate works independently of the active theme.

= Is it compatible with caching plugins? =

Yes, but caching should be configured carefully so logged-out visitors are redirected properly and protected content is not cached publicly.

== Screenshots ==

1. Supracorona Login Gate settings page.

== Changelog ==

= 1.0.0 =
* Initial stable release.

== Upgrade Notice ==

= 1.0.0 =
Initial stable release of Supracorona Login Gate.
