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
      |      Enterprise: 2.0.x - 2.1.x - 2.2

* Required Fields


Privacy is an essential key for many Magento 2 stores, especially wholesales or B2B stores. These sites usually aim to serve several customer groups only but not regular users. Therefore, Magento 2 Force Login extension is a useful tool that helps admin restrict customers’ access to specific pages in the backend configuration.

Help customers quickly log in through various social accounts with Magento 2 Social Login extension

Use Magento 2 Customer Attributes extension to add more fields to the Registration Form and Magento 2 Customer Approval extension to easily control customer accounts logged in your website .

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.


  • 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