=== Protect WP Admin === Contributors: wpexpertsin, india-web-developer Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=ZEMSYQUZRUK6A Tags: secure login, admin url, protect admin, hack prevention, secure admin Requires at least: 6.0 Tested up to: 6.9.1 Stable tag: 4.2 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Protect your WP site by changing the default wp-admin URL and customizing the login page for enhanced security. == Description == Protect WP Admin adds an extra security layer to your WP site by allowing you to rename and secure the wp-admin and wp-login.php URLs. * Change default admin URL (e.g., /wp-admin to /myadmin) * Restrict access to dashboard by roles or specific user IDs * Customize login page colors and logo * Block access to default login URLs Stop bots and hackers from brute-forcing your login page. This plugin is ideal for any site looking to increase login security without modifying core files. **Video Demo:** https://youtu.be/Mxr2MLDNACE **Pro Add-on Available:** [Click here to download add-on](https://www.wp-experts.in/products/protect-wp-admin-pro) = Features = * Define Custom WP Admin Login URL (e.g., http://yourdomain.com/myadmin) * Add custom logo and styling to login page * Restrict wp-admin access to only admin or defined user IDs * Redirect all unauthorized users and bots = Pro Features = * Rename wp-admin completely * Set login attempt limits * Track login history * Change usernames * More style controls **Get the Pro Version:** [Protect WP Admin Pro](https://www.wp-experts.in/products/protect-wp-admin-pro/?utm_source=wordpress.org&utm_medium=free-plugin&utm_campaign=15off) == Installation == 1. Upload the plugin folder to `/wp-content/plugins/` 2. Activate the plugin via the Plugins screen 3. Go to **Settings > Protect WP Admin** to configure the plugin 4. Update permalink structure under **Settings > Permalinks** (important!) == Frequently Asked Questions == = I'm locked out of admin. What can I do? = Rename the plugin folder via FTP (e.g., `/protect-wp-admin` to `/pwa-disabled`). This disables the plugin. = I see a 404 page at the new login URL = Ensure your `.htaccess` is writable and permalinks are not set to "Plain." = Can I restrict users by role? = Yes. Only administrators or allowed user IDs will have wp-admin access if enabled. = Does it work with custom themes? = Yes. It works independently of your theme. = Does it block brute force attacks? = It blocks access to the default login URLs, which stops many automated attacks. == Screenshots == 1. Settings Panel 2. Login Customization 3. Restriction Settings 4. Pro Features Preview 5. Login Tracker (Pro) == Changelog == = 4.0 = * Fixed major bug * Tested with WordPress 6.6.2 = 3.8 = * Security updates * Tested with WordPress 5.9.3 = 3.7 = * Fixed URL issue * Code optimization = 3.6 = * Optimized code and security * Tested with WordPress 5.8.2 = 3.5 = * Resolved double slash issue in login URL = 3.4 = * Added admin bar restriction for non-admin users = 3.3 = * Fixed login page not found when installed in subdirectory * Released Add-on v2.0 = 3.0 - 1.0 = * Initial stable releases with improvements and bug fixes == Upgrade Notice == = 4.0 = Update immediately to fix critical security logic and enhance compatibility with WordPress 6.6+ == License == This plugin is licensed under the GPLv2 or later. https://www.gnu.org/licenses/gpl-2.0.html