Logged-in-only

By Drivingralle

★ 5.0/5 (7 ratings)700+ active installationsVersion 2.1.6

A Plugin to lock down the whole site to prevent public access.

Description

Only logged-in users can view the frontend, backend or content of the REST API if this plugin is activated. The password reset process on wp-login keeps on working.

  • No options/settings
  • No by-pass

Compatibility

  • WooCommerce

Usage as MU-Plugin

This plugin is very simple and can also be used as a must-use plugin. That way no admin of a website can deactivate the plugin, making sure the requirement of just authenticated users is ensured.
! No automatic updates are made for mu plugins

Installation

  1. Upload wp-logged-in-only folder to the wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Your site is locked down to the public.

Changelog

2.1.6 – 2026-08-31

  • Tested up to WordPress 7.1.

2.1.5 – 2026-05-27

  • Tested up to WordPress 7.0.

2.1.4 – 2025-05-08

  • Tested up to WordPress 6.8.

2.1.3 – 2024-09-04

  • Tested up to WordPress 6.6.

2.1.2 – 2024-05-02

  • Reduce tag count to comply with repo rules

2.1.1 – 2024-05-02

  • Tested up to WordPress 6.5

2.1.0 – 2019-11-06

  • Make password reset link on login work if WooCommerce is installed
  • Tested up to WordPress 5.3

2.0.0 – 2017-11-28

  • Also lock down the REST API

1.0.3 – 2017-11-17

  • Plugin contributor @Drivingralle continues the development as new lead
  • Tested for WordPress 4.9

1.0.2

  • Codestyling by drivingralle

1.0.1

  • initial commit