=== WP Admin Protect === Contributors: marcelloruoppolome Tags: security, protection, hide login, rename wp-admin, login security Donate link: https://marcellodev.xyz/ Requires at least: 5.0 Tested up to: 6.9 Requires PHP: 7.4 Stable tag: 2.7.3 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Protect your WP Admin access. Easily change your wp-login URL by adding a secret term to hide your login page from bots and unwanted visitors. == Description == WP Admin Protect adds a lightweight security layer to your WordPress site by "hiding" the default login page. By setting a secret term, only users who know the specific URL can access the login screen. Any unauthorized attempt to access `wp-login.php` without your secret term will be automatically redirected to a custom URL of your choice, such as your homepage or an external site. Key Features: * Simple and lightweight (No Bloat). * Integrated with WordPress Native UI. * Prevents brute force attacks by hiding the entry point. * Customizable redirect URL. == Installation == 1. Upload the `wp-admin-protect` folder to the `/wp-content/plugins/` directory. 2. Activate the plugin through the 'Plugins' menu in WordPress. 3. Navigate to the new "WP Admin Protect" menu in your dashboard to configure your settings. == Frequently Asked Questions == = How do I use the plugin? = 1. Go to the "WP Admin Protect" menu. 2. Check the 'Enable Protection' option. 3. Enter the 'Redirect URL' where unauthorized users should be sent (e.g., https://google.com). 4. Set your 'Secret Term' (e.g., `mysecretaccess`). 5. Save changes and copy your new login URL: `yoursite.com/wp-login.php?mysecretaccess`. = What if I forget my secret term? = You can disable the plugin by renaming its folder via FTP or File Manager, which will restore the default `wp-login.php` access. == Screenshots == 1. The main settings page using native WordPress UI. == Changelog == = 2.7.3 = * Fix: Resolved "Too Many Redirects" error by switching to wp_redirect. * Security: Added data sanitization and escaping for all inputs. * Performance: Removed all external CSS/JS dependencies (FontAwesome/Grids). * UI: Updated to use native WordPress UI and Dashicons. = 2.6.0 = * New Security Algorithm. = 2.5.0 = * Layout improvements and new security features. = 2.0.0 = * Layout fixed * Links updated = 1.0.0 = * First release == Upgrade Notice == * This version (2.7.3) is a major cleanup for better performance, security compliance, and full compatibility with PHP 8.x.