Перейти к содержимому
WordPress.org

Русский

  • Темы
  • Плагины
  • Новости
    • Документация
    • Форумы
  • О WordPress
  • Сообщество
  • Скачать WordPress
Скачать WordPress
WordPress.org

Plugin Directory

Secure Login Shield

  • Отправить плагин
  • Мои избранные
  • Войти
  • Отправить плагин
  • Мои избранные
  • Войти

Secure Login Shield

Автор: Ben Treder
Скачать
  • Детали
  • Отзывы
  • Установка
  • Разработка
Поддержка

Описание

Secure Login Shield helps you lock down your WordPress login page.
By default, WordPress exposes /wp-login.php and /wp-admin/. Bots hammer these URLs every day.

This plugin gives you a private login slug (e.g. /dragon-lair) and hides the default login endpoint:

  • Defaults to /wp-login.php until you change it.
  • Once changed, only your custom slug works.
  • Direct access to /wp-login.php shows a 404 Not Found (stealth mode).
  • Logged-out visitors hitting /wp-admin/ are redirected to the homepage.
  • Deactivate the plugin → everything reverts to normal.

Made with ❤️ by Ben Treder

Features

  • Private login slug (e.g. /dragon-lair, /control-center, /secret-gate)
  • Stealth 404 protection: Bots hitting /wp-login.php see “Not Found”
  • Homepage redirect: /wp-admin/ (logged out) → homepage
  • Easy settings page under Settings → Secure Login Shield
  • Safe activation/deactivation: no core hacks, auto-reverts when disabled

Contribute & Support

  • Website: BenTreder.com
  • Author: Ben Treder
  • Issues & Feature Requests: Please open a ticket on BenTreder.com
  • Like this plugin? ⭐ Leave a review and help spread the word!
  • ☕ Support development: Buy Me a Coffee

Скриншоты

  • Settings page showing the default login slug (/wp-login.php)
  • Settings page with a custom private slug (/dragon-lair)

Установка

  1. Upload the secure-login-shield folder to the /wp-content/plugins/ directory or install via Plugins → Add New → Upload.
  2. Activate the plugin through the «Plugins» menu in WordPress.
  3. Go to Settings → Secure Login Shield.
  4. Set your private slug (example: dragon-lair).
  5. Go to Settings → Permalinks → Save Changes (refresh rewrite rules).
  6. If you use a caching plugin or CDN, clear cache to avoid stale redirects.
  7. Log in using https://yoursite.com/dragon-lair.

Important: Bookmark your new login URL! If you forget it, you’ll need to disable the plugin via FTP or database.

Часто задаваемые вопросы

Will this break my site?

No. By default it uses /wp-login.php until you change it. Deactivating the plugin instantly reverts WordPress to normal behavior.

Can I completely block /wp-login.php?

Yes. Once you set a slug, /wp-login.php (and actions) return a 404 Not Found.

What if I forget my private slug?

Deactivate the plugin via FTP (delete or rename secure-login-shield). WordPress will go back to /wp-login.php.

Does this work with caching plugins or CDNs?

Yes, but after changing your slug, you should clear cache/CDN to avoid serving stale redirects.

Отзывы

Great plugin

urosjovanovic 22.09.2025
Secure Login Shield is a great plugin! Easy to use and very effective at protecting your site.
Посмотреть 1 отзыв

Участники и разработчики

«Secure Login Shield» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

Участники
  • Ben Treder

Перевести «Secure Login Shield» на ваш язык.

Заинтересованы в разработке?

Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.

Журнал изменений

1.3.0

  • Rebrand to Secure Login Shield by Ben Treder
  • Default slug remains /wp-login.php (safe on first install)
  • Added activation notice: Save permalinks + clear cache after activation
  • Stealth 404 mode enforced when custom slug is chosen
  • Homepage redirect for logged-out visits to /wp-admin/

1.2.0

  • Added stealth 404 mode
  • Improved security enforcement

1.1.0

  • Redirected /wp-admin/ → homepage for logged-out users

1.0.0

  • Initial release with custom login slug + wp-login.php block

Мета

  • Версия 1.3.0
  • Обновление: 4 месяца назад
  • Активных установок: Менее 10
  • Версия WordPress 6.0 или выше
  • Совместим вплоть до: 6.8.3
  • Версия PHP 7.4 или выше
  • Язык
    English (US)
  • Метки:
    custom loginhardeningloginsecuritywp login
  • Дополнительно

Оценки

5 из 5 звёзд.
  • 1 5-звездный отзыв 5 звёзд 1
  • 0 4-звездный отзыв 4 звезды 0
  • 0 3-звездный отзыв 3 звезды 0
  • 0 2-звездный отзыв 2 звезды 0
  • 0 1-звездный отзыв 1 звезда 0

Добавить мой отзыв

Посмотреть всеотзывы

Участники

  • Ben Treder

Поддержка

Есть что сказать? Нужна помощь?

Перейти в форум поддержки

Пожертвование

Хотите поддержать улучшение этого плагина?

Пожертвовать на развитие плагина

  • О нас
  • Новости
  • Хостинг
  • Приватность
  • Витрина
  • Темы
  • Плагины
  • Паттерны
  • Обучение
  • Поддержка
  • Разработчики
  • WordPress.TV ↗
  • Присоединиться
  • События
  • Поддержать ↗
  • Пять для будущего
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Русский

  • Посетите нас в X (ранее Twitter)
  • Посетите нашу учётную запись в Bluesky
  • Посетите нашу ленту в Mastodon
  • Посетите нашу учётную запись в Threads
  • Посетите нашу страницу на Facebook
  • Посетите наш Instagram
  • Посетите нашу страницу в LinkedIn
  • Посетите нашу учётную запись в TikTok
  • Посетите наш канал YouTube
  • Посетите нашу учётную запись в Tumblr
Код — это поэзия.