=== Secure WordPress Admin – Change & Hide Login URL ===
Contributors: yasirkhalifa
Tags: login, security, wp-login, wp-admin, custom login url, hide login, change login url
Requires at least: 5.0
Tested up to: 6.9
Requires PHP: 7.2
Stable tag: 1.2
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Secure and customize your WordPress admin login by changing the default wp-login.php URL to a custom slug and blocking unauthorized access to wp-admin.

== Description ==

**Secure WordPress Admin – Change & Hide Login URL** improves your website's login security by allowing you to replace the default WordPress login page (wp-login.php) with any custom slug of your choice. It also blocks direct access to both **wp-login.php** and **/wp-admin/** for all non-logged-in users.

Upon activation, the plugin automatically sets the custom login slug to **mysecretlogin**.  
Example:  
`https://yourwebsite.com/mysecretlogin`

You can update the slug anytime from the settings page.  
**Important:** After changing the custom slug, go to **Settings → Permalinks** and click **Save Changes** to ensure the new login URL works correctly.

This plugin is lightweight, fast, and follows WordPress coding standards without modifying core files.

== Features ==

* Change **wp-login.php** to a custom login slug  
* Default login slug automatically set to **mysecretlogin**  
* Blocks direct access to **wp-login.php**  
* Blocks unauthorized access to **/wp-admin/**  
* Simple admin settings page to manage the slug  
* Fully translation-ready  
* Uses WordPress security best practices  
* Zero impact on site performance  

== Installation ==

1. Upload the plugin ZIP via **WordPress Admin → Plugins → Add New → Upload Plugin**
2. Activate the plugin
3. Go to **Settings → Login URL** to configure your custom login slug

== Frequently Asked Questions ==

= What if I forget my custom login slug? =  
You can regain access by disabling the plugin via FTP or phpMyAdmin.  
After deactivation, the default wp-login.php URL will work again.

= Does it conflict with other login plugins? =  
It may conflict with plugins that modify or customize the login process, since it directly handles the login URL behavior.

== Screenshots ==
1. Admin Settings Page
2. Custom Login URL Example

== Changelog ==

= 1.1 =
* Initial release

== Upgrade Notice ==

= 1.1 =
First release.

= 1.2 =
* Minor Update