
Redirect to login if not logged in Security & Risk Analysis
wordpress.org/plugins/redirect-to-login-if-not-logged-inRedirects users to the login page if the visitor is not logged in.
Is Redirect to login if not logged in Safe to Use in 2026?
Generally Safe
Score 85/100Redirect to login if not logged in has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.
The plugin 'redirect-to-login-if-not-logged-in' v1.7.0 exhibits a strong security posture based on the provided static analysis. The absence of dangerous functions, the consistent use of prepared statements for any potential SQL queries, and 100% output escaping indicate good coding practices. Furthermore, the lack of file operations, external HTTP requests, and a clean taint analysis with no unsanitized paths are highly positive indicators. The plugin also has no recorded vulnerabilities, which is excellent. The primary concern stems from the complete lack of observed entry points and zero capability checks. While this might mean the plugin is very simple and has a minimal attack surface, it also means there's no direct evidence of how it secures its operations or if any potential actions it *might* perform are properly authorized. This lack of demonstrated security checks, even in a seemingly secure codebase, warrants a cautious approach.
Key Concerns
- No capability checks found
- No nonce checks found
- Zero entry points found
Redirect to login if not logged in Security Vulnerabilities
Redirect to login if not logged in Code Analysis
Redirect to login if not logged in Attack Surface
Maintenance & Trust
Redirect to login if not logged in Maintenance & Trust
Maintenance Signals
Community Trust
Redirect to login if not logged in Alternatives
LoginWP (Formerly Peter's Login Redirect)
peters-login-redirect
Redirect users to different locations after they log in, log out and register based on different conditions.
Inactive Logout
inactive-logout
Automatically logout idle user sessions, with logout redirections and concurrent limit logins all in one place.
FluentAuth – The Ultimate Authorization & Security Plugin for WordPress
fluent-security
Enhance the Security and User Experience of Your Site with Login/Signup Security, Two-Factor Email Authentication, Social Logins and more...
Simple Membership After Login Redirection
simple-membership-after-login-redirection
An addon for the simple membership plugin to configure after login redirection to a specific page based on the member's level.
WP Login and Logout Redirect
wp-login-and-logout-redirect
This plugin enable simple and easy way to redirect user to your chosen page URL after login or logout or both.
Redirect to login if not logged in Developer Profile
2 plugins · 210 total installs
How We Detect Redirect to login if not logged in
Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.