Force Login For Magento 2

Write Review
The Magento 2 Force Login module allows customers and users to restrict login access to particular pages they can view. Customers can view specific pages only after sign-in in to the website.
30-Days Money back
100% Open Source
Free Update

Key Features of Force Login:

  • Restrict access to various pages and allow it for logged-in users only.
  • Enable force customer login for specific pages.
  • Allow restricting CMS pages.
  • Show a custom error message for non-accessible pages.
  • Set a custom URL for redirection after user login.
  • Disable customers' registration directly.
Partner With
Magento Partner Hyva Partner
Developed by
Master Certified Expert Certified Professional Certified


By default, Magento 2 does not have the capability to restrict certain pages for use by guest customers only. This means that all customers, including guests, have access to these pages. As a result, store owners are required to display sensitive information on these pages to all customers.


Force Sign in Magento 2 by MageAnts helps Magento store owners restrict some content of the website for non-logged-in users. And if they want to access the restricted pages, categories, or content, then they need to log in, and they will be redirected to the specific content. This feature is useful for stores that want to limit access to certain products, pricing, or information to registered users only. It also helps to improve security and prevent unauthorized access to sensitive information on the website.


Allow website access for logged-in customers only.
Enable force login functionality on specific pages.
Customized alert message for visitors
Redirect visitors to a specific page after logging in.
Hide the customer registration function.


What is force sign in Magento 2?

Magento 2 Force sign in provide a feature to store owners to restrict access to particular pages and allow information visibility to logged-in users only. With the help of this, you can customize the front end of your store.

Can I restrict customers to access the product detail page without login?

Yes, you can restrict customers to access the product detail page without login.

Can I set URL when customer login, and then it redirects to a particular page?

Yes, you can set URL when customer login, and then it redirects to a particular page.

Can I disable registration for a customer?

Yes, you can disable registration from configuration setting.


Customer 6 Reviews

star star star star star
The features are simple and helpful. The extension helps me in restricting my customers till they login. User-friendly and feature-rich module. Very good quality module!
| Posted On 07/05/2023
Thank You Mageants!!
star star star star star
They have delivered very reliable extension for the Magento store to restrict the users to view without login. I would recommend this extension if you need to hide your store from guest users. Thank You Mageants!!
| Posted On 06/01/2023
User Friendly Extension And Support Worth Appreciating
star star star star star
User friendly extension and support worth appreciating
| Posted On 04/10/2020
Good extension
star star star star star
Force Login For Magento 2 extension is so useful. I'm using it with great success.
| Posted On 10/27/2018
Write Your Own Review
You're reviewing Force Login
You're Rating:

check-circle You submitted your review for moderation.


* Required Fields

Change Log

Current Version Number : 2.0.5

Date :24/04/2023

Bug fixed

  • MageAnts team make extension compatible with latest magento 2.4.6 version.

Current Version Number : 2.0.4

Date :15/11/2022

Coding Standard

  • MageAnts team makes this extension coding as per magento coding standard.

Current Version Number : 2.0.3

Date :27/01/2021

Bug fixed

  • When admin restricted any page for the guest customer and when guest customer tried to access that particular page, the page didn't work. Error has been occurred on the frontend. Mageants team resolved this issue in all the Magento versions.

Current Version Number : 2.0.2

Date :29/05/2020

Bug fixed

  • When admin restrict to use product detail page without login then sometime product detail page display blank, MageAnts resolved issue and working fine in all Magento version.

Current Version Number : 2.0.1

Date :28/11/2019

Bug fixed

  • When customer force login after redirect specific Home Page, Previous URL, Custom URL, Default Account page not working, now issue solve and working with all Magento version.

Current Version Number : 2.0.0

Date :20/03/2019

Bug fixed

  • MageAnts update Force Login extension in latest magento2.3 version, Now extension working with all Magento version.
  • Update module version name in composer.json file same as module.xml file.

  • How To Enable The Force Login Module In Magento 2?

  • How Does MageAnts Force Login Work?

  • Why Does Your Store Need Magento 2 Force Sign-In ?

  • Benefits of Force Login Magento 2 Extension

  • Install Force login module in your Magento 2 store.
  • You can enable extension from store --> Configuration --> Mageants --> Force login.
  • You can set other configuration as per your need and requirement.
  • Admin can restrict the visibility of the specific page like category page, product page, search page, cart page, checkout, or any other.
  • Customer need to log in to use these pages.
  • Admin can set the page to redirect customer after login.
  • Magento 2 Force Login is a must-buy for store owners due to its simplicity and exclusive features. Adding this extension to your Magento store allows the user to visit the pages that you have predecided. It gives the user a smooth shopping experience.
  • Moreover, it's Magento 2 customer force sign-in function, enables the visitor to become a registered user and gain further benefits. While the sellers can keep a record of guest and registered users separately from the backend. It's easy to install, user-friendly and flexible.
  • Users flock to websites every second and identifying the guest and registered users among them become almost impossible. It is when Magento 2 Force Login extension is the most needed. It eases the job of admin by taking any visitor to a login page in order to register themselves first as by registration, the user can get the maximum benefit out of it like knowing more about the products, search and explore about it further etc.
  • Magento 2 customer force sign in extension is required for Magento store owners to hide the store content and ask customers to sign in if they want to view and access the website content or detail page. Merchants can restrict store information from fake and spam users. Also, they can notify customers with an alert message to log into the website to access the restricted content.
  • Convert the guest user of your website to registered customers automatically after checkout and successfully order completion using Magento 2 Guest to Customers extension by MageAnts.
  • Increase customer registration.
  • Prompt your customer to log in.
  • Reduces the risk of unauthorized access
  • Increased Security
  • Improved User Experience

Why Choose MageAnts

  • 9+ Years of Industry Experience

    9+ Years of Industry Experience

    9+ years of extensive experience in delivering Magento solutions & services. Over the years, we have watched technologies change and bounds, and our team has always focused on staying ahead in this competition.

  • 100% Bug Free

    100% Bug Free

    Our team follow rules and takes care of perfect setup to ensure a bug-free and error-free code for the development process of theme, extension, or website development.

  • Extension Created By Certified Developer

    Extension created By Certified Developers

    Team of certified developers for developing MageAnts Magento extensions. Skilled, qualified, and committed professionals to work on every extension.

  • Quick Technical Support

    Quick Technical Support

    MageAnts ensures quick and quality technical support. Take advantage of our 90 days free support for a smooth and efficient experience.

  • Frequent Extension Updates

    Frequent Extension Updates

    Intensive update roadmaps ensure highly compatible, bug-free, great performance, and innovative extensions.

Our services