LevelNetwork Custom Login Protector

Complete Documentation v1.2.4

Description Protects the site by changing the login URL, blocking default access points, and allowing visual customization of the page.
Version 1.2.4
Author Level Network
Minimum Requirements WordPress 5.4+, PHP 7.2+

1. Introduction

LevelNetwork Custom Login Protector is a WordPress plugin designed to improve your site's security through the principle of "security through obscurity" while simultaneously offering advanced tools for aesthetic customization of the login page.

The plugin dynamically intercepts requests without modifying WordPress core files or requiring complex .htaccess rules, making configuration simple and reversible.

2. Key Features

2.1 Security Features

2.2 Visual Customization Features

3. Installation and Initial Configuration

  1. Upload the plugin folder to the /wp-content/plugins/ directory or install it via the dashboard (Plugins > Add New).
  2. Activate the plugin.
  3. Navigate to Settings > Login Protector in the admin menu to access the configuration.
⚠️ CRITICAL: Immediately after saving URL settings for the first time (or if you modify them), you must visit the Settings > Permalinks page and click "Save Changes" (without changing anything). This is necessary to update the server's rewrite rules and make the new URL work.

4. Usage Guide

The settings page is divided into two main sections.

4.1 URL Configuration

This section manages security aspects.

VERY IMPORTANT: Once the new URL is set, add it to your browser bookmarks. You will no longer be able to access via wp-login.php or /wp-admin/ if you are not logged in.

4.2 Login Page Customization

This section manages the aesthetics.

5. Best Practices and Troubleshooting

5.1 How to change the background image of a layout

Some layouts (e.g., Layout 3, 6, 7, 9) use a default background image. You can easily change it via the Custom CSS field.

  1. Upload your image to Media > Add New and copy its full URL.
  2. In the Login Protector settings, insert code similar to the following in the CSS field (adapting the layout class and URL):
/* Example for Layout 3 (Full Background) */
body.login.lnclp-layout-layout3 {
    background-image: url('YOUR_IMAGE_URL') !important;
    background-size: cover !important;
    background-position: center center !important;
}

Replace .lnclp-layout-layout3 with the correct class if you use another layout (e.g., .lnclp-layout-layout6, etc.). Using !important is recommended to ensure the override.

5.2 "Page not found" (404) after configuration

If you receive a 404 error when trying to access the URL after setting it:

  1. Verify that you have saved the Permalinks (see section 3).
  2. Ensure that the mod_rewrite module is enabled on your Apache server and that the directives in the .htaccess file are writable by WordPress.

5.3 What to do if you forget the login URL

If you can no longer access the site because you forgot the custom URL:

  1. Access the server via FTP or the File Manager of your hosting.
  2. Navigate to /wp-content/plugins/.
  3. Rename the plugin folder levelnetwork-custom-login-protector to something else (e.g., levelnetwork-custom-login-protector-DELETED).
  4. This will deactivate the plugin and restore standard access via wp-login.php.
  5. Once logged in, rename the folder back to its original name and check the settings.

6. Recent Changelog