WordPress.org

Bahasa Melayu

  • Tema
  • Pemalam
  • Tentang
  • Get WordPress
Get WordPress
WordPress.org

Plugin Directory

Login IP & Country Restriction

  • Submit a plugin
  • My favorites
  • Log in
  • Submit a plugin
  • My favorites
  • Log in

Login IP & Country Restriction

Oleh Iulia Cazan
Download
  • Details
  • Reviews
  • Pemasangan
  • Pembangunan
Support

Description

This plugin hooks in the authenticate filter. By default, the plugin is set to allow all access and you can configure the plugin to allow the login only from some specified IPs or the specified countries. PLEASE MAKE SURE THAT YOU CONFIGURE THE PLUGIN TO ALLOW YOUR OWN ACCESS. If you set a restriction by IP, then you have to add your own IP (if you are using the plugin in a local setup the IP is 127.0.0.1 or ::1, this is added in your list by default). If you set a restriction by country, then you have to select from the list of countries at least your country. Both types of restrictions work independent, so you can set only one type of restriction or both if you want. Also, you can configure the redirects to frontpage when the URLs are accessed by someone that has a restriction. The restriction is either by country, or not in the specified IPs list.

License

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Screenshots

  • Login restriction rules and XML-RPC authenticated methods
  • IPs restriction: allow and block specific IPs
  • Countries restriction: allow and block specific countries
  • Redirect options
  • Export and import settings, status/debug details

Installation

  • Upload Login IP & Country Restriction to the /wp-content/plugins/ directory of your application
  • Login as Admin
  • Activate the plugin through the ‘Plugins’ menu in WordPress

FAQ

None

Reviews

Great plugin – works wonderfully

dany84 10 November 2025
The plugin stopped all bot attempts to log in onto my website, and I am no longer invaded by notifications of those failed attempts.

Great plugin

laszlobartucz 2 Oktober 2025
We use a hosting service that oesn’t allow for easy country restrictions – this plugin is our saviour.

partially working

blackossian 11 September 2025
it seems it doesn’t block South Africa

Not working anymore

eevan79 28 Ogos 2025
Edit: Rating changed because the add-on has been updated and now works. This plugin uses the geoplugin.net service, which is no longer free, so the plugin no longer works either. This is a message: “geoPlugin API is no longer available for free use. To continue access, please upgrade to a paid plan”

Simple but highly effective

mtido 16 Februari 2025
I had an increase in incorrect login attempts, it started with a few and then quickly escalated to over 600 per day. From another plugin came the hint with GEO blocking by IP, then I came across this plugin and then had everything blocked except for my own country. Finally only 1-2 per day. Thank you

Perfect match for my requirements

jenbodeu 18 Januari 2025
Perfect match for my requirements
Read all 51 reviews

Contributors & Developers

“Login IP & Country Restriction” adalah perisian sumber terbuka. Orang-orang berikut telah menyumbang kepada pemalam ini.

Penyumbang
  • Iulia Cazan

“Login IP & Country Restriction” telah diterjemahkan ke dalam 1 penempatan. Terima kasih kepada para penterjemah untuk terjemahan mereka.

Translate “Login IP & Country Restriction” into your language.

Berminat dalam pembangunan?

Layari kod, periksa repositori SVN, atau langgani log pembangunan dengan RSS.

Changelog

6.8.0

  • Tested up to 6.8.2
  • Added more free IP lookup providers

See the changelog for detailed information on changes made in the earlier versions.

Meta

  • Version 6.8.0
  • Last updated 3 bulan lalu
  • Active installations 7,000+
  • WordPress version 5.1 or higher
  • Tested up to 6.8.3
  • PHP version 7.2 or higher
  • Languages

    English (US) dan Romanian.

    Terjemahkan kepada bahasa anda

  • Tags
    block countryblock ipcountry restrictionlogin restriction
  • Paparan Lanjutan

Ratings

4.6 out of 5 stars.
  • 42 5-star reviews 5 stars 42
  • 3 4-star reviews 4 stars 3
  • 3 3-star reviews 3 stars 3
  • 2 2-star reviews 2 stars 2
  • 1 1-star review 1 star 1

Tambah tinjauan saya

See all reviews

Penyumbang

  • Iulia Cazan

Support

Isu yang diselesaikan dalam tempoh dua bulan lepas:

0 daripada 1

View support forum

Derma

Would you like to support the advancement of this plugin?

Donate to this plugin

  • About
  • News
  • Hosting
  • Privacy
  • Showcase
  • Themes
  • Plugins
  • Patterns
  • Learn
  • Support
  • Developers
  • WordPress.tv ↗
  • Get Involved
  • Events
  • Donate ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Bahasa Melayu

  • Visit our X (formerly Twitter) account
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • Visit our Facebook page
  • Visit our Instagram account
  • Visit our LinkedIn account
  • Visit our TikTok account
  • Visit our YouTube channel
  • Visit our Tumblr account
Kod adalah Puisi.