A comprehensive WordPress plugin for secure user authentication, registration, and profile management.
Prerequisites
Before using the plugin:
- In WordPress Settings → General, check “Anyone can register” to enable user registration
- 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
- Upload the plugin files to
/wp-content/plugins/secure-my-wp-site-login
- Activate the plugin through WordPress admin
- Go to “Secure My WP Site” → “Login” in your admin menu
- Configure the settings according to your needs
- Add logout links using Appearance → Customize → Logout Link
Screenshots



Automatic Page Creation
The plugin automatically creates these pages with shortcodes.
Pages
- Login: User login
- Register: New user registration
- Profile: User profile management
- Lost Password: Password recovery
- Reset Password: Password reset
- Email Confirmation: Email verification
- Delete Account: Account deletion
- Delete Success: Deletion confirmation
- 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:
- Go to Appearance → Menus
- Look for “Logout Link” box in the left sidebar
- Check the box and click “Add to Menu”
- The logout link will redirect to the logout success page
Method 2 – Customizer:
- Go to Appearance → Customize
- Select “Logout Link” section
- Choose the menu for logout link placement
- 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
- Always keep the plugin updated
- Enable email verification for new registrations
- Use strong password requirements
- Enable reCAPTCHA if available
- Regularly review unconfirmed users
- Monitor failed login attempts
- 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