Force Login

Force Login

Compatible With: Community 2.1, 2.2

Tech Specifications

Current Version:
Stable Build
26 October, 2017
Extensions, Content & Customizations
License Type:
GNU General Public License 3.0 (GPL-3.0)


Allows you to restrict which pages a visitor is able to see. Visitors get redirected to the login page if the page is restricted from admin.

Other Extensions by MagePrince


Back to top

Force Login extension allows you to force users to log to pages or areas users can view.  This can be set to specific areas, or all areas. This extension is especially useful for merchants serving only a specific group of users or partners when there is a need to ensure that only those users are able to browse the website's pages, cms pages or the product catalog. The list of visitable pages can be managed via the admin by defining url, customer group, and store. Any incoming request that does not match an entry in the list will automatically redirect the user to the login page. The admin can choose options from settings whether visitor, not access entered url's or visitor can access only entered url.


Admin can Add/Edit/Delete url at MENU->CUSTOMERS->Customer Force Login from admin

  • For example, If you want to restrict this url: then you need to add contact in url. And choose specific store view and customer group for restriction.For example, If you want to restrict this product
  • For example, If you want to restrict this product url: then you need to add strive-shoulder-pack.html in url. And choose specific store view and customer group for restriction.


For settings go to MENU->CUSTOMERS->Force Login->Settings OR STORES->Configuration->CUSTOMERS->Force Login

There are three configuration settings:

  1. Module Enable: Yes/No
  2. Url Action: Yes/No, whether visitor not access entered URL's or visitor can access only entered URLs and acees only homepage without login. 
  3. Error Message: Enter custom error message which is display after redirect to login page



  • Ability to force a user to log on each area like cms pages/site search (mini and advanced) / categories / products / search terms / contact us.
  • Can add any numbers of url from admin
  • Manage url from admin panel
  • Whitelist url for specific customer groups
  • Define if whitelist rules either apply globally or for specific stores
  • Edit single url without opening in new page with inline edit
  • Delete multiple records at a time with mass delete action on grid
  • Admin can also delete or edit single record
  • Filter url by ID, Name, Url and Status.
  • Restrict the administration of whitelist rules to certain backend user groups
  • Easy and quick to install and configure causing no issues to website functioning


Release Notes

Back to top


  • Compatible with CE: 2.1 2.2
  • Stability: Stable Build
  • Description:

    Compatible with CE: 2.1, 2.2
    Stability: Stable Build
    Solve bugs and improvments
    Solve multiple error messag display in login page
    Now admin can set only homepage accessible without login from configuration settings


  • Compatible with CE: 2.1
  • Stability: Stable Build
  • Description:

    Compatible with CE: 2.1
    Compatible with EE:
    Stability: Stable Build
    Description: This is the first release of the Force Login extension for Magento 2.


Back to top
The best place to start if you need help with a specific extension is to contact the developer. All Magento developers have both a contact email and a support email listed.

Q & A

Back to top


Back to top