=== TW Hide Login ===
Contributors: renegabe
Tags: security, login, custom login, hide login, wp-login
Requires at least: 5.2
Tested up to: 6.9
Requires PHP: 7.2
Stable tag: 1.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Change the WordPress login URL and block direct access to wp-login.php and wp-admin for non-logged-in users after configuration.

== Description ==

TW Hide Login improves basic WordPress security by allowing you to change the default login URL and block direct access to common login endpoints used by automated bots.

After configuration, the plugin:

• Allows login only through your custom login URL  
• Blocks direct access to wp-login.php  
• Blocks direct access to wp-admin for non-logged-in users  
• Redirects blocked requests to a custom URL that you define  

The plugin preserves all normal WordPress login functionality including:

• Logout  
• Lost password  
• Password reset  
• Email confirmation after login  
• Login redirects  

Important:  
The plugin does nothing until you configure a custom login URL in the settings.

This plugin is intentionally lightweight and focused only on hiding the login URL. It does not include brute-force protection, firewalls, malware scanning, or other security features.

No external services are used.  
No data is collected or transmitted.

== Installation ==

1. Log into your WordPress administration panel.
2. Go to Plugins → Add New.
3. Search for TW Hide Login.
4. Install and activate the plugin.
5. Go to Settings → TW Hide Login.
6. Enter a custom Login URL.
7. Enter a Redirection URL for blocked login attempts.
8. Click Save Changes.

Once configured, your new login page will be available at:

https://yourdomain.com/your-login-slug

== Frequently Asked Questions ==

= Does the plugin work immediately after activation? =

No. The plugin does nothing until you configure a custom login URL in the settings.

= Does the plugin block wp-admin access? =

Yes. Direct access to wp-admin is blocked for non-logged-in users once a Redirection URL is configured.

= Does this plugin break WordPress login features? =

No. All core WordPress login flows continue to work normally, including password resets, logout, login redirects, and email confirmation prompts.

= Does this replace a security plugin? =

No. This plugin only hides the login URL. It does not replace a firewall, malware scanner, or full security plugin.

= Does the plugin collect any data? =

No. The plugin does not collect, store, or transmit any data.

== Screenshots ==

1. Plugin settings screen
2. Example of custom login URL

== Changelog ==

= 1.1 =
* Fixed compatibility with WordPress login flows
* Preserved query parameters used by WordPress login actions
* Fixed redirect handling for the WordPress admin email confirmation screen
* Improved login redirect logic
* Minor security and sanitization improvements

= 1.0 =
* Initial release.

== Upgrade Notice ==

= 1.1 =
Fixes login redirect issues and improves compatibility with WordPress login flows.
```
Update the version references to **1.1** consistently.

Here is the corrected **readme.txt**.

```
=== TW Hide Login ===
Contributors: renegabe
Tags: security, login, custom login, hide login, wp-login
Requires at least: 5.2
Tested up to: 6.9
Requires PHP: 7.2
Stable tag: 1.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Change the WordPress login URL and block direct access to wp-login.php and wp-admin for non-logged-in users after configuration.

== Description ==

TW Hide Login improves basic WordPress security by allowing you to change the default login URL and block direct access to common login endpoints used by automated bots.

After configuration, the plugin:

• Allows login only through your custom login URL  
• Blocks direct access to wp-login.php  
• Blocks direct access to wp-admin for non-logged-in users  
• Redirects blocked requests to a custom URL that you define  

The plugin preserves all normal WordPress login functionality including:

• Logout  
• Lost password  
• Password reset  
• Email confirmation after login  
• Login redirects  

Important:  
The plugin does nothing until you configure a custom login URL in the settings.

This plugin is intentionally lightweight and focused only on hiding the login URL. It does not include brute-force protection, firewalls, malware scanning, or other security features.

No external services are used.  
No data is collected or transmitted.

== Installation ==

1. Log into your WordPress administration panel.
2. Go to Plugins → Add New.
3. Search for TW Hide Login.
4. Install and activate the plugin.
5. Go to Settings → TW Hide Login.
6. Enter a custom Login URL.
7. Enter a Redirection URL for blocked login attempts.
8. Click Save Changes.

Once configured, your new login page will be available at:

https://yourdomain.com/your-login-slug

== Frequently Asked Questions ==

= Does the plugin work immediately after activation? =

No. The plugin does nothing until you configure a custom login URL in the settings.

= Does the plugin block wp-admin access? =

Yes. Direct access to wp-admin is blocked for non-logged-in users once a Redirection URL is configured.

= Does this plugin break WordPress login features? =

No. All core WordPress login flows continue to work normally, including password resets, logout, login redirects, and email confirmation prompts.

= Does this replace a security plugin? =

No. This plugin only hides the login URL. It does not replace a firewall, malware scanner, or full security plugin.

= Does the plugin collect any data? =

No. The plugin does not collect, store, or transmit any data.

== Screenshots ==

1. Plugin settings screen
2. Example of custom login URL

== Changelog ==

= 1.1 =
* Fixed compatibility with WordPress login flows
* Preserved query parameters used by WordPress login actions
* Fixed redirect handling for the WordPress admin email confirmation screen
* Improved login redirect logic
* Minor security and sanitization improvements

= 1.0 =
* Initial release.

== Upgrade Notice ==

= 1.1 =
Fixes login redirect issues and improves compatibility with WordPress login flows.

