Secure My WP Site – Login

A comprehensive WordPress plugin for secure user authentication, registration, and profile management.

Prerequisites

Before using the plugin:

  1. In WordPress Settings → General, check “Anyone can register” to enable user registration
  2. Verify your site can send emails (required for verification)

Features

Core Features

  • Secure login system with email authentication
  • User registration with optional email verification
  • Password reset functionality
  • Profile management
  • Account deletion (optional)
  • Custom login redirect
  • Mobile-responsive forms
  • Customizer integration for menu logout links

Security Features

  • Email verification system
  • Built-in security measures (nonce verification, input sanitization)
  • reCAPTCHA integration support
  • Protection against unauthorized access
  • Admin account protection

Quick Start

  1. Upload the plugin files to /wp-content/plugins/secure-my-wp-site-login
  2. Activate the plugin through WordPress admin
  3. Go to “Secure My WP Site” → “Login” in your admin menu
  4. Configure the settings according to your needs
  5. Add logout links using Appearance → Customize → Logout Link

Screenshots

Automatic Page Creation

The plugin automatically creates these pages with shortcodes.

Pages

  1. Login: User login
  2. Register: New user registration
  3. Profile: User profile management
  4. Lost Password: Password recovery
  5. Reset Password: Password reset
  6. Email Confirmation: Email verification
  7. Delete Account: Account deletion
  8. Delete Success: Deletion confirmation
  9. Logout Success: Logout confirmation

Shortcodes

[smwps_login_form]
[smwps_register_form]
[smwps_profile_form]
[smwps_lost_password_form]
[smwps_reset_password_form]
[smwps_confirm_email_form]
[smwps_delete_account_form]
[smwps_delete_account_successful]
[smwps_successful_logout]

Configuration Options

Security Settings

  • Email Confirmation: Enable/disable email verification for new registrations
  • Account Deletion: Allow/disallow users to delete their accounts

Redirect Settings

  • Login Redirect URL: Set custom redirect after successful login

Admin Features

Unconfirmed Users Management

  • View all unconfirmed user accounts
  • Bulk delete unconfirmed accounts
  • Automatically clean up old unconfirmed accounts
  • Filter users by registration date

Security Monitoring

  • Monitor email verification status
  • Manage user accounts

Navigation Menu Integration

Adding Logout Link to Menu

Method 1 – Menu Editor:

  1. Go to Appearance → Menus
  2. Look for “Logout Link” box in the left sidebar
  3. Check the box and click “Add to Menu”
  4. The logout link will redirect to the logout success page

Method 2 – Customizer:

  1. Go to Appearance → Customize
  2. Select “Logout Link” section
  3. Choose the menu for logout link placement
  4. Save your changes

Integration Support

  • Compatible with major page builders
  • MailChimp integration support
  • reCAPTCHA support
  • Developer-friendly hooks and filters

Form Customization

All forms can be styled using your theme’s CSS. The plugin includes these CSS classes:

  • .smwps-form: Main form container
  • .smwps-message: Notification messages
  • .form-row: Form field container
  • .smwps-message.error: Error messages
  • .smwps-message.success: Success messages

Troubleshooting Common Issues

Email Verification Not Working

  • Check if your WordPress can send emails
  • Verify spam filter settings
  • Ensure email confirmation is enabled in settings

Form Styling Issues

  • Check theme’s CSS overrides
  • Use plugin’s CSS classes for custom styling
  • Clear browser and server cache

Menu Logout Link Issues

  • Verify menu location is registered in your theme
  • Clear customizer cache
  • Check user login status

Security Best Practices

  1. Always keep the plugin updated
  2. Enable email verification for new registrations
  3. Use strong password requirements
  4. Enable reCAPTCHA if available
  5. Regularly review unconfirmed users
  6. Monitor failed login attempts
  7. Maintain regular backups

Requirements

  • WordPress 5.0 or higher
  • PHP 7.4 or higher
  • MySQL 5.6 or higher
  • Modern web browser with JavaScript enabled

License

GPLv2 or later

Scroll to top