📘
User Guide & Documentation
Step-by-step setup manual for Force Login
View →
Changelog v1.2.0 Compatible with Magento CE, EE · 2.3.x, 2.4.x

Force Login

Magento 2 Force Login Extensionhelps merchants restrict page access by requiring customers to log in before viewing specific pages or the entire site. It enhances control over user access and improves customer management with flexible login and redirect options.

  • Force login requirement for specific pages or the entire website.
  • Enable or disable the default customer registration link in Magento 2.
  • Customizable redirect after user login.
  • Works seamlessly with Magento 2 Catalog Permission for category and CMS page restrictions.
  $149
No surprise fees

We are committed to being open and transparent with our customers. When you purchase our module, you automatically receive one year of free support service and free updates.

Why is this important?

  • Seamless Installation and Configuration: We understand that setting up a new module can take time to configure according to your specific needs. That's why we offer a full year of free support. Our experienced team is here to assist you with installation, configuration, and any questions you might have. We're eager to share our expertise to ensure you get the most out of your purchase.
  • Stay Updated with Magento (Adobe Commerce) Releases: Magento releases new versions approximately every three months. These updates can sometimes introduce compatibility challenges. To keep your store running smoothly, we provide a year of free access to the latest versions of our modules, ensuring that you can upgrade Magento and our modules without encountering any obstacles.
  • Subscription Included: Renewing your subscription ensures continued access to the latest updates and support from our team. This means you can be confident that any issues you encounter with the extension will be resolved quickly and efficiently. You can cancel your subscription at any time without any additional fees.
Hyvä Bronze Partner
Adobe Commerce
Secure Checkout

Highlighted Features

  • Force Login for Specific Pages or Entire Site

    Restrict access to selected pages such as product, category, and CMS pages—or the entire storefront—ensuring only logged-in users can view them.

  • Enable or Disable Customer Registration Link

    Provides the option to hide the default Magento 2 customer registration link to limit account creation and increase security.

  • Custom Redirect After Login

    Redirect users to the last visited page, a custom URL, or any specified page after they successfully log in.

  • Restrict Access to Categories and CMS Pages

    Works in combination with the Catalog Permission extension to control visibility of specific categories and CMS pages based on login status.

Description

Control Access & Streamline User Flow with Magento 2 Force Login

full-config-of-enable-force-login

Take full control of customer access across your Magento 2 store by enforcing login requirements for specific pages or the entire website. The Force Login extension is ideal for B2B businesses, private sales, or stores requiring gated content. Whether it’s product, category, checkout, or CMS pages — you decide which parts of your site are visible to logged-in users only.

Key Features

  • Restrict Access to Any Page or URL: Beyond just product or checkout pages, you can enforce login on any CMS page or even across the whole website. Customize access rules according to your business requirements.
  • Target Specific URLs: Apply restrictions based on URL patterns. Choose to match URLs exactly or based on a partial match using the “Contains” option, giving you greater flexibility over what is protected.
  • Compatible with Third-Party Extensions: The Force Login features are fully compatible with pages generated by third-party modules or custom development, ensuring smooth integration with your Magento store.
  • Flexible Redirect After Login: Maintain a seamless user journey by redirecting users to a relevant page after login. Options include:
    Default Magento Page

    Previous URL

    Home Page

    Custom URL (your choice)
  • Hide Customer Registration Option: Prevent new customer sign-ups from the frontend by disabling the default “Register” link in the login form and site header. Ideal for businesses that require admin-controlled account creation.

Seamless Frontend Experience with Force Login

force-login-on-frontend

Ensure clarity and consistency for your store visitors. When users attempt to access a page that requires authentication, the Magento 2 Force Login extension automatically redirects them to the login page.

A customizable message, such as “You need login to access this page,” will be displayed to inform users about the login requirement. This transparent notification enhances user experience while maintaining secure access to protected content.

By guiding customers clearly, you ensure a smooth journey from restriction to login, improving both usability and conversion opportunities.

FAQs

Frequently Asked Questions

With the Magento 2 Force Login extension, you can restrict access to any specific page, including product, category, checkout, or CMS pages. When users try to visit these pages, they will be redirected to the login page with a customizable message, ensuring that only logged-in customers can access the content.
Yes. The Force Login extension provides an option to hide the default registration link from the login form and site header. This ensures that account creation is admin-controlled, making it perfect for B2B stores or private websites that require restricted customer access.
After login, customers can be redirected to a default Magento page, their last visited page, the home page, or a custom URL of your choice. This flexibility ensures a smooth and user-friendly journey while maintaining access control.
Yes. The Force Login extension is designed to be compatible with third-party extensions and custom development. It can enforce login requirements on any page generated by other modules, ensuring seamless integration with your Magento store.
Yes. The Force Login extension works in combination with the Catalog Permission extension to restrict access to specific categories and CMS pages. You can create rules based on login status and URL patterns, ensuring only authorized customers can view selected content.
   Ask a question
REVIEWS

Changelog

1.2.0 – january 15, 2026

  • Upgraded for compatibility with Magento 2.4.8-p3.
  • Compatible with PHP version 8.4.

1.1.1 – December 30, 2025

  • Upgraded for compatibility with Magento 2.4.8-p3.
  • Compatible with PHP version 8.3.

1.1.0 – September 1, 2024

  • Minor Bug Fixes

1.0.7 – May 13, 2024

  • Compatible with Magento Version 2.4.7-p3.

1.0.0 – February 19, 2018

  • Release Initial Version.