Title: Protect WP Admin
Author: WP-EXPERTS.IN
Published: <strong>20 Tháng 10, 2014</strong>
Last modified: 5 Tháng 2, 2026

---

Tìm kiếm plugin

![](https://ps.w.org/protect-wp-admin/assets/banner-772x250.jpg?rev=2313728)

![](https://ps.w.org/protect-wp-admin/assets/icon-128x128.png?rev=1016876)

# Protect WP Admin

 Bởi [WP-EXPERTS.IN](https://profiles.wordpress.org/india-web-developer/)

[Tải về](https://downloads.wordpress.org/plugin/protect-wp-admin.4.2.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/protect-wp-admin/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/protect-wp-admin/#reviews)
 *  [Cài đặt](https://vi.wordpress.org/plugins/protect-wp-admin/#installation)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/protect-wp-admin/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/protect-wp-admin/)

## Mô tả

Protect WP Admin adds an extra security layer to your WP site by allowing you to
rename and secure the wp-admin and wp-login.php URLs.

 * Change default admin URL (e.g., /wp-admin to /myadmin)
 * Restrict access to dashboard by roles or specific user IDs
 * Customize login page colors and logo
 * Block access to default login URLs

Stop bots and hackers from brute-forcing your login page. This plugin is ideal for
any site looking to increase login security without modifying core files.

**Video Demo:**
 https://youtu.be/Mxr2MLDNACE

**Pro Add-on Available:**
 [Click here to download add-on](https://www.wp-experts.in/products/protect-wp-admin-pro)

#### Chức năng

 * Define Custom WP Admin Login URL (e.g., http://yourdomain.com/myadmin)
 * Add custom logo and styling to login page
 * Restrict wp-admin access to only admin or defined user IDs
 * Redirect all unauthorized users and bots

#### Pro Features

 * Rename wp-admin completely
 * Set login attempt limits
 * Track login history
 * Change usernames
 * More style controls

**Get the Pro Version:**
 [Protect WP Admin Pro](https://www.wp-experts.in/products/protect-wp-admin-pro/?utm_source=wordpress.org&utm_medium=free-plugin&utm_campaign=15off)

### License

This plugin is licensed under the GPLv2 or later.
 https://www.gnu.org/licenses/
gpl-2.0.html

## Ảnh màn hình

[⌊Settings Panel⌉⌊Settings Panel⌉[

Settings Panel

[⌊Login Customization⌉⌊Login Customization⌉[

Login Customization

[⌊Restriction Settings⌉⌊Restriction Settings⌉[

Restriction Settings

[⌊Pro Chức năng Preview⌉⌊Pro Chức năng Preview⌉[

Pro Chức năng Preview

[⌊Login Tracker (Pro)⌉⌊Login Tracker (Pro)⌉[

Login Tracker (Pro)

[[

[[

[[

## Cài đặt

 1. Upload the plugin folder to `/wp-content/plugins/`
 2. Activate the plugin via the Plugins screen
 3. Go to **Settings > Protect WP Admin** to configure the plugin
 4. Update permalink structure under **Settings > Permalinks** (important!)

## Hỏi đáp

### I’m locked out of admin. What can I do?

Rename the plugin folder via FTP (e.g., `/protect-wp-admin` to `/pwa-disabled`).
This disables the plugin.

### I see a 404 page at the new login URL

Ensure your `.htaccess` is writable and permalinks are not set to “Plain.”

### Can I restrict users by role?

Yes. Only administrators or allowed user IDs will have wp-admin access if enabled.

### Does it work with custom themes?

Yes. It works independently of your theme.

### Does it block brute force attacks?

It blocks access to the default login URLs, which stops many automated attacks.

## Đánh giá

![](https://secure.gravatar.com/avatar/d001f77039b3abfe3d03f8b47d06cd5c1de095a476c68f4f00f26bcdb7a6bd84?
s=60&d=retro&r=g)

### 󠀁[Simple Its all done.](https://wordpress.org/support/topic/simple-its-all-done/)󠁿

 [truekandyan](https://profiles.wordpress.org/truekandyan/) 17 Tháng 7, 2021

Thank you for giving us Simple and Amazing plugin. Please check Login form customizing
is not working. Hide wp-admin is working good. Thanks again.

![](https://secure.gravatar.com/avatar/3d715e6ccee9e03a2560d6d6531baf4117240f60da9a7ff5331cc25bae554ea1?
s=60&d=retro&r=g)

### 󠀁[A loophole has been found by hackers](https://wordpress.org/support/topic/a-loophole-has-been-found-by-hackers/)󠁿

 [samuel](https://profiles.wordpress.org/samueljbwong/) 3 Tháng 5, 2021

A loophole has been found by hackers. My websites have been attacked by login brute-
force thousands times everyday. Hackers could access wp-login.php directly when 
Protect-wp-admin was enabled. I try disabling the file access to wp-login.php in.
htaccess but it also disable accessing the login page via the URL defined in Protect-
wp-admin. Finally, it makes this plugin useless.

![](https://secure.gravatar.com/avatar/d3b2ed9edf6758860c84c826384cb36ee3b34b307e56047838d9582847699f7a?
s=60&d=retro&r=g)

### 󠀁[Plugin created a redirect loop after WordPress version update](https://wordpress.org/support/topic/plugin-created-a-redirect-loop-after-wordpress-version-update/)󠁿

 [elasticio](https://profiles.wordpress.org/elasticio/) 1 Tháng 3, 2021

After updating the Wordpress version to 5.6, none of my team could log in any longer.
Both URLs, the one created through the plugin and the original wp-admin link, kept
redirecting to the Homepage. I had to deactivated all the plugins via MyPHPAdmin
to get back the control of our website. This plugin was the first I reactivated 
and I could immediately replicate the issue. This is imho not acceptable.

![](https://secure.gravatar.com/avatar/f24ff1bfb44813013c460a24d48d1bb6b36fa545d37d3f637e4d38db3eb02a80?
s=60&d=retro&r=g)

### 󠀁[Works perfect & Awesome support](https://wordpress.org/support/topic/works-perfect-awesome-support-2/)󠁿

 [ichmirmich](https://profiles.wordpress.org/ichmirmich/) 21 Tháng 1, 2021

The plugin works as expected and after a recent WP update, it didn’t work anymore.
contacted the support and they helped me out super quick.

![](https://secure.gravatar.com/avatar/829e9bf25558a1aa5851f7bb7bd876e9d88e73c910f35f529129cd0faf2e8284?
s=60&d=retro&r=g)

### 󠀁[NOT compatible with WP 5.6](https://wordpress.org/support/topic/not-compatible-with-wp-5-6/)󠁿

 [bsp7744](https://profiles.wordpress.org/bsp7744/) 11 Tháng 1, 2021 2 trả lời

Junk, do not use. Updated to Wordpress 5.6 and I am now locked out of ALL my websites.
Avoid at all costs.

![](https://secure.gravatar.com/avatar/b5f753c50c9f589cb47e6728b490d1c8ad73dec5bd9bd8b4e686f59c9999ed3e?
s=60&d=retro&r=g)

### 󠀁[Cannot login](https://wordpress.org/support/topic/cannot-login-110/)󠁿

 [pivonka1975](https://profiles.wordpress.org/pivonka1975/) 10 Tháng 12, 2020 1 
trả lời

Cannot log in today after WordPress 5.6 renewal, have to disable this plugin via
FTP. Bad experience!

 [ Đọc tất cả 50 đánh giá ](https://wordpress.org/support/plugin/protect-wp-admin/reviews/)

## Người đóng góp & Lập trình viên

“Protect WP Admin” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

 *   [ WP-EXPERTS.IN ](https://profiles.wordpress.org/india-web-developer/)
 *   [ WP-EXPERTS.IN ](https://profiles.wordpress.org/wpexpertsin/)

“Protect WP Admin” đã được dịch qua 1 ngôn ngữ. Cảm ơn [những người tham gia dịch](https://translate.wordpress.org/projects/wp-plugins/protect-wp-admin/contributors)
vì đóng góp của họ.

[Dịch “Protect WP Admin” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/protect-wp-admin)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/protect-wp-admin/), check
out [SVN repository](https://plugins.svn.wordpress.org/protect-wp-admin/), hoặc 
theo dõi [nhật ký phát triển](https://plugins.trac.wordpress.org/log/protect-wp-admin/)
qua [RSS](https://plugins.trac.wordpress.org/log/protect-wp-admin/?limit=100&mode=stop_on_copy&format=rss).

## Nhật ký thay đổi

#### 4.0

 * Fixed major bug
 * Tested with WordPress 6.6.2

#### 3.8

 * Security updates
 * Tested with WordPress 5.9.3

#### 3.7

 * Fixed URL issue
 * Code optimization

#### 3.6

 * Optimized code and security
 * Tested with WordPress 5.8.2

#### 3.5

 * Resolved double slash issue in login URL

#### 3.4

 * Added admin bar restriction for non-admin users

#### 3.3

 * Fixed login page not found when installed in subdirectory
 * Released Add-on v2.0

#### 3.0 – 1.0

 * Initial stable releases with improvements and bug fixes

## Meta

 *  Phiên bản **4.2**
 *  Cập nhật lần cuối **6 tháng trước**
 *  Số lượt cài đặt **10.000+**
 *  Phiên bản WordPress ** 6.0 hoặc cao hơn **
 *  Đã kiểm tra lên đến **6.9.7**
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/protect-wp-admin/) và [Swedish](https://sv.wordpress.org/plugins/protect-wp-admin/).
 *  [Dịch sang ngôn ngữ của bạn](https://translate.wordpress.org/projects/wp-plugins/protect-wp-admin)
 * Thẻ
 * [admin url](https://vi.wordpress.org/plugins/tags/admin-url/)[protect admin](https://vi.wordpress.org/plugins/tags/protect-admin/)
   [secure admin](https://vi.wordpress.org/plugins/tags/secure-admin/)[secure login](https://vi.wordpress.org/plugins/tags/secure-login/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/protect-wp-admin/advanced/)

## Đánh giá

 3.6 trên 5 sao.

 *  [  28 5-star reviews     ](https://wordpress.org/support/plugin/protect-wp-admin/reviews/?filter=5)
 *  [  5 4-star reviews     ](https://wordpress.org/support/plugin/protect-wp-admin/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/protect-wp-admin/reviews/?filter=3)
 *  [  1 2-star review     ](https://wordpress.org/support/plugin/protect-wp-admin/reviews/?filter=2)
 *  [  16 1-star reviews     ](https://wordpress.org/support/plugin/protect-wp-admin/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/protect-wp-admin/reviews/#new-post)

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/protect-wp-admin/reviews/)

## Những người đóng góp

 *   [ WP-EXPERTS.IN ](https://profiles.wordpress.org/india-web-developer/)
 *   [ WP-EXPERTS.IN ](https://profiles.wordpress.org/wpexpertsin/)

## Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/protect-wp-admin/)

## Ủng hộ

Bạn có muốn hỗ trợ vào sự phát triển của plugin này?

 [ Ủng hộ plugin này ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=ZEMSYQUZRUK6A)