Free Installation
Free 1-Year Support
Free Update
30-Day Money Back

Force Login for Magento 2

Magento 2 Force Login Extension gives restriction for specific pages, which requires customers to log in to view websites.
  • Require Magento 2 buyers to login before viewing any specific pages
  • Easily redirect users to Account Dashboard/Homepage/Previous/Custom URL after logging in
  • Display an alert message to notify customers when they are redirected to login page
  • Select specific pages to enable “force login” function
  • Enable/Disable customer registration on Magento 2 websites
Community: 2.0.x - 2.1.x - 2.2.6
      |      Enterprise: 2.0.x - 2.1.x - 2.2.6

* Required Fields

Free Installation
Free 1-Year Support

Tips to grow your customer database with other Magento 2 extensions easily:

Note: Magento has added Google reCAPTCHA and 2FA functionality to all Magento Commerce and Open Source versions 2.1 and above to enhance Magento 2 security. Please check the user guide to get the detailed instruction for installation. 

Key Features of Magento 2 Force Login Extension

  • Force users log in to view sites

When a visitor access to Magento 2 stores, Magento 2 Force Login extension will redirect him/her to the login page, where he/she is required to enter their username and password to continue viewing the content of pages. Therefore, only registered-customers are allowed to take action in Magento stores such as viewing products, checkout or seeing a search result.


  • Enable/disable “force login” function for specific pages

With this feature, admin can easily set which pages guests must be logged-in or not to view content. This extension not only supports pages in default Magento 2 but also works with other pages that are customized by third-party extensions (also known as custom pages).


  • Notify customers when they are redirected to login page

Admins can create an alert message which appears when customers click to access Magento 2 stores and be redirected to login page. This message will inform that they need to login in order to continue.

  • Set redirected pages after successful login

To redirect your Magento 2 users to page of your choosing after login. Force Login for Magento 2 extension offers 4 options: Account Dashboard (set as default), Homepage, Previous URL (where customers intend to see before being redirected to login page) or a custom URL.


  • Hide customer registration function in Magento 2 stores

This function is to hide “register” block in login page and header. As a result, guests cannot create a new account in frontend stores. Instead, the admin will do this action from backend sites.

Why is Magento 2 Force Login extension your Must-have extension?

  • Help store owners keep their stores private

For those whom stores only work for certain target customers such as wholesales or B2B businesses, Magento 2 Force Login extension is a convenient module to separate between guests and registered users. Consequently, non logged-in customers will get redirected to login page when they try to access unvisitable pages. Admin can easily manage these pages in the backend configuration.

Moreover, admins can decide to allow guests to register or not. If not, admins are able to create new accounts in the backend and notify their customers.

  • Enhance shopping experience

In comparison with other extensions in the same features, our Force Login for Magento 2 extension seems to be more outstanding with the redirect function. Firstly, when Magento 2 buyers attempt to view the site, they would be redirected to login page where they need to inform their account and password to continue shopping. Secondly, after being logged in successfully, customers are redirected to a page of admin’s choosing. Our extension offer 4 options: Account Dashboard, Homepage, Previous URL or a Custom URL. Customers will no longer feel annoyed or complicated.

  • Easily configure the extension from the backend

Instead of spending much time coding and designing themselves, admins can manage their Magento 2 stores effectively even when they are not tech-savvy with Magento 2 Force Login extension.


  • Good extension but cheaper price could be better
    Actually, the module is not bad, it is very easy to configure and use. However, the price may be a little bit higher. If it is cheaper, I absolutely fall in love with it. Anyway I love your support team. You guys are so hard-working and care for customers.
    verified buyer
    Reviewed by Tim Schneider on 12 November 2018
  • Luckily I found out this extension
    I should say the module met all my expectations. This module works pretty well and it is very easy to install and configure. I recommend it.
    verified buyer
    Reviewed by Robert Blanco on 19 October 2018
  • Useful extension.
    What makes I like this Magento 2 module the most is the feature to force customer login to access certain pages by which I can keep some parts available for one customer group.
    verified buyer
    Reviewed by Saran J. Brown on 03 May 2018
  • Work as promised.
    I totally satisfy with Magento 2 Force Login extension. It works smoothly as your promise. Keep up your good work!
    verified buyer
    Reviewed by William E. Salyer on 27 April 2018
  • Wonderful Support!
    After installing Magento 2 Force Login on my sites, there was a small error with redirecting feature and I ask your support team for help. They responded quickly with detailed instruction. Now everything is working smoothly and flawlessly. Big Thanks!
    verified buyer
    Reviewed by Stephen N. Richmond on 09 April 2018
  • well extension for private store
    For wholesale business, I recommend installing Force Login. All my B2B customers need to create accounts and login for shopping as I want. Good work. Keep having nice modules.
    And it is easy to configure. Thanks again
    verified buyer
    Reviewed by Robert L. Ellis on 27 March 2018
  • Very customizable plug-in
    Really satisfied with this plug-in. I want t install a function that forces the user log-in to access catalog and product pages on my website. This module helps me so much, it is very flexible.
    verified buyer
    Reviewed by Steven J. Carollo on 05 December 2017
Write a Review
You're reviewing: Force Login for Magento 2
How do you rate this product? *

Release Note

  • v1.0.0: First Release
  • v1.0.1: Fix blank page issue when re-login
  • v1.0.2: Fix bug when create customer account in backend
  • v1.0.3: Fix issue with Contact us Page setting