Joomla GEO Website Protection – Country Blocking and IP Protection for Joomla

    Joomla GEO Website Protection – Country Blocking and IP Protection for Joomla

    In this overview, we take a closer look at Joomla GEO Website Protection, a free security extension designed to restrict website access based on visitors' geographical locations and IP addresses. It allows website administrators to control which countries can access their sites, block unwanted IP addresses, and add an extra layer of protection to the Joomla administrator login page.

    These tools can be particularly useful for website owners dealing with automated requests, brute-force login attempts, spam, and other unwanted traffic. Instead of blocking individual IP addresses one by one, administrators can apply access restrictions to entire countries or specific regions.

    Joomla GEO Website Protection combines geographical traffic filtering with additional website security features. Along with country-based blocking, the extension supports redirecting visitors from selected regions, restricting access to the Joomla administrator login page, and monitoring blocked connections through built-in statistics.

    What Is Joomla GEO Website Protection?

    Joomla GEO Website Protection is a security extension that allows administrators to control website access according to visitors' geographical locations or IP addresses.

    Its primary purpose is to provide greater control over incoming website traffic. For example, if a website serves a specific audience and does not need visitors from certain regions, administrators can restrict access from those countries. The same approach can be used to filter traffic from locations associated with frequent spam, suspicious requests, or attempts to gain unauthorized access.

    The extension also focuses on protecting the Joomla administrator area. Website owners can restrict access to the administrator login page, allowing authentication only from trusted countries. In addition, individual IP addresses associated with repeated failed login attempts or other suspicious activity can be blocked.

    This makes Joomla GEO Website Protection useful not only for managing website visitors but also for adding another layer of protection against unwanted traffic and unauthorized access attempts.

    Main Features of Joomla GEO Website Protection

    The extension provides several tools for managing website access, filtering incoming traffic, and monitoring suspicious activity.

    Country-Based Website Blocking

    Administrators can prevent visitors from selected countries from accessing their websites. This can help reduce unwanted international traffic, including connections from regions generating large amounts of spam or suspicious requests.

    Country-based restrictions can be configured separately for the public-facing website and the Joomla administrator area, allowing administrators to apply different access rules to regular visitors and backend users.

    Geographical Redirects

    Instead of completely blocking visitors, the extension can redirect users from selected countries to alternative pages or URLs.

    This feature can be useful for businesses and organizations operating in multiple regions. It allows them to direct visitors to relevant pages or alternative content according to their geographical location.

    IP Address Blocking

    In addition to country-based filtering, Joomla GEO Website Protection allows administrators to block individual IP addresses.

    This is useful when a website receives suspicious connections, automated requests, brute-force login attempts, or other unwanted activity from specific sources. Problematic IP addresses can be added to the blocklist without restricting access for all visitors from the same country.

    Joomla Administrator Login Protection

    The Joomla administrator login page is a common target for automated attacks. Bots and malicious scripts may repeatedly send authentication requests in an attempt to guess login credentials.

    Joomla GEO Website Protection allows administrators to restrict access to the login page based on geographical location, making it accessible only from trusted countries. This provides an additional barrier against unauthorized login attempts and unwanted requests targeting the administration area.

    Brute-Force Attack Protection

    The extension includes features designed to help prevent brute-force attacks. IP addresses responsible for repeated failed login attempts can be blocked to reduce further unauthorized access attempts.

    Another useful option is the ability to configure the plugin to load before regular Joomla plugins. This allows traffic filtering rules to be applied earlier in the request processing sequence, potentially reducing the load on the Joomla application when handling large volumes of unwanted requests.

    Another option for Joomla website owners is RSFirewall! – a Joomla security extension. It also provides tools for restricting access based on geographical location, making it another solution worth considering when choosing security measures for a Joomla website.

    Statistics and Visual Analytics

    To help administrators monitor the extension's activity, Joomla GEO Website Protection provides visual charts and statistics showing blocked connections.

    The available reporting periods include:

    • Last 24 hours.
    • Last 7 days.
    • Last 30 days.

    These statistics help website owners monitor blocked countries and IP addresses, identify patterns in unwanted traffic, and evaluate how frequently the configured security rules are triggered.

    Spam Reduction

    Geographical access restrictions can also help reduce unwanted registrations, comments, and form submissions.

    For websites targeting a specific country or group of regions, restricting traffic from other geographical areas may reduce the volume of irrelevant submissions and automated spam activity.

    Who Can Benefit from This Extension?

    Joomla GEO Website Protection can be useful for different types of websites, particularly those receiving unwanted traffic or requiring additional access restrictions.

    • Corporate websites. Restrict access from countries where the company does not operate and gain greater control over incoming traffic.
    • Online stores. Manage access from selected regions and help reduce unwanted registrations and submissions.
    • Content and information websites. Reduce suspicious automated requests and unwanted traffic.
    • Websites with user registration. Apply additional restrictions to registration forms and login pages to limit suspicious activity.
    • Joomla websites with an administrator area. Add another layer of protection to the administrator login page and reduce unwanted authentication attempts.

    Configuration and Usage

    One of the advantages of Joomla GEO Website Protection is that access restrictions can be managed directly through Joomla, without manually creating complex filtering rules at the server level.

    Administrators can select the countries they want to block, add individual IP addresses to the blocklist, and configure geographical redirects. Additional restrictions can be applied to the Joomla administrator login page to help protect the backend from unwanted access attempts.

    The early-loading option is also worth mentioning. It allows the plugin to apply filtering rules before regular Joomla plugins are loaded. This can be particularly useful when a website receives large volumes of automated or suspicious requests.

    After configuring the extension, administrators can use the built-in statistics to monitor blocked connections and evaluate filtering activity over time.

    Advantages of Joomla GEO Website Protection

    The main advantages of this extension include:

    • Country-based access restrictions for managing unwanted website traffic.
    • IP address blocking for filtering suspicious connections.
    • Additional protection for the Joomla administrator login page.
    • Tools for reducing brute-force login attempts.
    • Geographical redirects for visitors from selected countries.
    • Visual statistics covering blocked countries and IP addresses.
    • An early-loading option for applying traffic filtering rules sooner.
    • Free availability of the extension's main features.

    Final Thoughts

    Joomla GEO Website Protection is a useful security extension for Joomla administrators who need greater control over incoming traffic and website access. The ability to block entire countries, restrict individual IP addresses, and protect the administrator login page makes it possible to address several common security concerns with a single plugin.

    The extension may be particularly useful for websites regularly receiving automated requests, spam, and brute-force login attempts. Geographical filtering also provides an alternative to blocking individual IP addresses, allowing administrators to establish access rules for entire regions.

    It is important to remember that geographical filtering is an additional security measure rather than a replacement for regular Joomla and extension updates, strong passwords, and other website protection practices. When used alongside other security tools, Joomla GEO Website Protection can become a useful part of an overall website security strategy.

    Overview Dashboard

    The Overview tab is the main dashboard of Website GEO Protection by SiteGuarding. It provides a summary of the extension's current status, displays important security information, and offers quick access to its main configuration options.

    From this page, administrators can check whether front-end and administrator protection are enabled, review geographical access rules, monitor blocked connections, and access activity logs and general settings.

    1. Header and General Status

    At the top of the dashboard, you will find the extension name and a brief explanation of its purpose. Website GEO Protection allows administrators to control website access based on visitors' countries, protect the Joomla administrator area, and configure geographical redirects to alternative pages or language versions.

    On the right side, there are two useful elements:

    • Get the full version: A link to the full version of the extension.
    • Your IP address and country: Displays your current IP address and detected geographical location. This helps verify that the geolocation feature is working correctly. It is also important to check this information before enabling restrictions to avoid accidentally blocking your own access to the website.

    Directly below the header, four status cards provide a quick overview of the current protection settings:

    • Front-end protection: Shows whether protection for the public-facing website is enabled.
    • Administrator protection: Indicates whether access to the Joomla administrator area is restricted.
    • GEO redirects: Displays the number of configured geographical redirect rules.
    • Countries blocked: Shows how many countries are currently included in the blocklist.

    2. How This Extension Works

    The blue information panel titled How this extension works explains the basic operating principle of the component.

    According to the developer, visitor locations are checked instantly using a local IP address database stored on your server. This means that geographical checks do not require sending visitor data to external services.

    Using a local database helps keep the geolocation process independent of third-party services, supports visitor privacy, and avoids additional external requests during page loading.

    3. Protection Management Cards

    The central section of the dashboard contains two main cards for managing website security. They provide separate controls for the public-facing website and the Joomla administrator area.

    Front-end Protection

    This section controls access to the public part of your website. It allows administrators to configure which visitors can access the site based on their geographical location and IP address.

    The card displays information about blocked countries and configured IP address rules. It also provides two main buttons:

    • Turn on: Enables front-end protection.
    • Configure: Opens the protection settings, where you can manage geographical restrictions and other access rules.

    Administrator Protection

    The second card is dedicated to protecting the Joomla administrator login page. It allows you to restrict access to the backend based on the visitor's geographical location.

    The developer recommends allowing administrator access only from countries where your team is physically located. This can help reduce unwanted login requests originating from other regions.

    As with front-end protection, the card provides quick access to the main controls:

    • Turn on: Enables administrator protection.
    • Configure: Opens the settings for managing access to the Joomla administrator area.

    4. Activity Statistics

    Below the protection management cards, the dashboard displays three statistical counters that provide a quick overview of recent extension activity.

    • Blocked attempts – Last 24 hours: Shows the number of blocked access attempts during the previous 24 hours.
    • Blocked attempts – Last 7 days: Displays the total number of blocked attempts over the last seven days.
    • Redirects – Last 30 days: Shows how many visitors have been redirected according to the configured geographical rules during the last 30 days.

    These counters make it easier to monitor protection activity without having to open detailed logs.

    5. Analytics and Extension Health

    The bottom section of the Overview dashboard contains two additional information panels: Most blocked countries and Extension health.

    Most Blocked Countries – Last 30 Days

    This panel displays the countries from which the highest number of blocked access attempts have originated during the last 30 days.

    If the extension has just been installed or protection has not yet been enabled, there may be no activity data to display.

    For more detailed information about blocked connections and other events, you can use the Open activity and logs button to access the activity log.

    Extension Health

    The Extension health panel provides technical information about the current installation and the status of its main components.

    It displays the following information:

    • Agent version: Shows the version of the security agent currently in use (Version 2.6).
    • Geo database: Displays information about the date of the latest local geolocation database update.
    • Activity logs retention: Indicates how long activity records are stored (90 days).

    The Settings button at the bottom of this panel provides access to the extension's general configuration options.

    Overall, the Overview dashboard brings the main protection controls, activity statistics, and system information together in one place, making it easier to monitor and manage Website GEO Protection.

    Front-end Protection

    The next section is Front-end protection, where you can configure access restrictions for regular website visitors. This is where administrators decide which visitors can view the website and which will see an access-denied page instead of the site's content.

    1. Information Panel

    At the top of the page, a blue information panel explains how front-end protection works. Visitors from the selected countries and IP addresses included in the blocklist will be denied access to the website and shown a blocking page instead of the regular content.

    The developer also provides an important recommendation: make sure to add search engine bots to the allow list before enabling geographical restrictions. Otherwise, blocking large numbers of countries without allowing search engine crawlers could negatively affect your website's search visibility and organic traffic.

    2. Protection Status

    Below the information panel, you will find the protection status bar. It displays the current module status, which in this example is Protection OFF, along with a green Turn on button.

    This approach allows you to configure all access restrictions first, save your settings, and review the selected countries before activating protection. The blocking rules will only take effect after you enable the module.

    3. Block by Country

    The main section of this page is Block by country. It contains a list of countries that can be selected to restrict website access for visitors from specific geographical regions.

    Current location and free version limit

    The interface identifies your current country (Ukraine in this example) and highlights it in the country list. This is a useful reminder to check your selection carefully and avoid accidentally blocking your own access.

    A blue information notice below the location indicator explains that the free version allows you to block up to 5 countries. Removing this restriction requires the full version of the extension.

    Country search and selection tools

    On the left side, there is a search field that allows you to quickly find a country by its name or two-letter country code.

    On the right, several buttons make it easier to manage country selections:

    • Select all: Selects all countries in the list.
    • Clear all: Removes all current selections.
    • Invert: Reverses the current selection, selecting previously unselected countries and deselecting selected ones.
    • All except UA: Selects all countries except Ukraine (UA), based on the current example.

    Continent filters

    Below the search and selection tools, you will find a row of continent filters. These buttons represent geographical regions such as Europe, Asia, Africa, and others, with the number of countries indicated for each region.

    Using these filters makes it easier to narrow down the country list and select the regions you want to manage.

    Country list

    The main selection area contains a scrollable list of countries, their two-letter codes (AF, AL, DZ, and others), and checkboxes for enabling or disabling restrictions.

    A Countries selected counter above the list displays the current number of selected countries, helping you keep track of your configuration and the free version limit.

    4. IP Address Blocking and Saving Changes

    Block by IP address

    Below the country selection area, there is a separate section for blocking individual IP addresses or IP ranges. This allows administrators to restrict access from specific network addresses regardless of the country they belong to.

    However, this feature is marked with a yellow FULL VERSION label, indicating that IP address blocking through this section is available only in the paid version of the extension.

    Save changes

    A green Save changes button is located in the bottom-right corner of the interface. Use it to save all modifications made to the country selection and other available settings.

    Once the configuration has been saved and checked, you can enable front-end protection using the Turn on button in the status panel.

    Always Allow These Addresses

    The Always allow these addresses section provides a whitelist for IP addresses that should always be granted access to the website. This feature is marked with a FULL VERSION label, meaning it is available only in the paid version of the extension.

    IP addresses added to this list are exempt from blocking rules, even if the country they belong to is included in the country blocklist configured above.

    • Personal and office IP addresses: It is recommended to add your home and office IP addresses before enabling protection. This helps prevent accidental lockouts and ensures that you can continue accessing your website even when geographical restrictions are active.
    • Search engine crawlers: A separate option allows search engine bots, such as Googlebot and Bingbot, to access your website for crawling and indexing. This is particularly important when restricting access from entire countries, as search engine crawlers may operate from servers located in blocked regions.

    Using the whitelist helps prevent legitimate visitors and trusted services from being blocked by geographical restrictions, while allowing search engines to continue accessing your website for indexing.

    Administrator Protection

    The Administrator Protection tab is designed to protect the Joomla administrator area.

    Its interface and configuration logic are almost identical to the previous section, with the same country lists, IP filters, and whitelist options. However, there is one important difference: the rules apply exclusively to access to the administrator area (/administrator). The public-facing website remains accessible to all visitors without any geographical restrictions.

    Automated login attempts and brute-force attacks can originate from many different countries, including regions where a website has no regular users or administrators. Restricting administrator access to trusted countries can therefore help reduce unwanted requests reaching the Joomla login page.

    By allowing access only from the countries where your administrators and editors are located, you can block a large portion of unwanted traffic before it even reaches the Joomla login page. This helps reduce exposure to automated login attempts while keeping the main website available to visitors worldwide.

    GEO Redirects

    The GEO Redirects tab is designed for a different purpose. Unlike the previous protection settings, this feature does not block visitors. Instead, it automatically redirects them to specific pages or domains based on their country.

    Let's take a closer look at each section of the interface, from top to bottom.

    1. Information Panels

    Send visitors where they belong: This panel explains the main purpose of the module. You can assign a destination URL to a specific country so that visitors from that region are automatically redirected to the appropriate page instead of the original one. This is particularly useful for regional online stores, local contact pages, and language-specific versions of a website.

    Redirects never apply to the administrator: An important security clarification. Starting with version 3.0, redirects are applied only to the public-facing part of the website. This prevents administrators from accidentally redirecting themselves away from the /administrator area while configuring the rules.

    2. How to Write a Destination

    This reference section provides examples of how to specify the destination for a redirect:

    • An internal page on the same website: For example, /it/contact-us. The address starts with a slash, and visitors from the selected country are redirected directly to this local page.
    • Another website: For example, https://www.example.it. Enter the full URL to redirect visitors from that country to the homepage of another domain.
    • Another website while preserving the current page path: For example, https://www.example.it%PATH%. The special %PATH% variable preserves the path requested by the visitor. For instance, someone visiting /contact-us will be redirected to the corresponding /contact-us page on the regional domain.

    3. Language Code Rewriting

    The Language code rewriting section contains a separate option called Rewrite the language segment in URLs. It is intended for multilingual websites where the language is included in the URL, such as /en/contact-us.

    When this option is enabled, the extension automatically replaces the two-letter language segment with the language code associated with the visitor's country. If the requested URL does not contain a language prefix, the regular GEO redirect rules are applied instead.

    4. Never Redirect These

    This section is marked with a FULL VERSION badge, meaning it is available only in the paid version. It contains two text fields for defining exceptions to the redirect rules:

    • Addresses to leave alone: A list of specific IP addresses, masks, or subnets that should be excluded from redirects. This can be useful when testing a website from different countries or when allowing employees to access the site without redirection.
    • URLs to leave alone: A list of website pages or sections, such as /shop or /contact, where redirects should be disabled for all visitors.

    After configuring the rules and exceptions, click the green Save changes button in the bottom-right corner to save your settings.

    Activity and Logs

    The Activity and Logs tab provides a built-in monitoring log that records every filtering event and allows you to check how your protection rules work in practice.

    Let's look at each part of the interface, from top to bottom.

    1. Information Panel: What Actually Happened

    The blue information panel explains the purpose of this section. Every blocked request and every completed redirect is recorded here.

    This is useful for administrators for two main reasons. First, you can check whether a newly configured rule is working as expected. Second, you can identify cases where legitimate visitors may have been blocked by mistake, for example, users connecting through a VPN.

    2. Blocking Statistics

    Three statistic cards in the middle of the screen show the number of blocked requests over different periods:

    • Blocked, last 24 hours — blocked requests during the past 24 hours.
    • Blocked, last 7 days — blocked requests during the past seven days.
    • Blocked, last 30 days — blocked requests during the past 30 days.

    If protection is disabled or no blocking events have occurred during a particular period, the corresponding card displays the message No activity in this period.

    3. Latest 50 Records

    The bottom section contains a table with the 50 most recent protection events. A counter in the top-right corner of the card shows the total number of records.

    A note directly below the heading explains the log retention period: records older than 90 days are automatically deleted. This helps prevent the activity log from growing indefinitely and taking up unnecessary space in the website database.

    Block Page

    The Block Page tab is where you configure the page displayed to visitors whose access has been denied based on their country or IP address. Instead of seeing the website's main content, they are shown an informational page with your logo and an explanatory message.

    One important technical detail is that the block page is served with the HTTP response code 403 Forbidden. This tells search engines that access to the requested resource is denied, rather than presenting the blocking page as normal website content. It also helps prevent the blocking page from being treated as a regular page for indexing purposes.

    In the free version, the extension uses its standard block page template. The ability to customize its appearance and modify the text and design to match your website is available only in the full version of the component.

    More Information

    For more information about the extension, its features, and the full version, visit the developer's website:

    https://www.siteguarding.com/en/joomla-geo-website-protection


    You have no rights to post comments

    Latest News

    Cron Job Starts