Skip to content

amida-software/magento2-disable-frontend

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Disable Frontend in Magento 2

Disable the frontend in Magento 2 for using only the Admin and the API routes.

1 - Installation Disable Frontend

Manual Installation

Install Disable Frontend for Magento2

  • Download the extension
  • Unzip the file
  • Create a folder {Magento root}/app/code/Abelbm/DisableFrontend
  • Copy the content from the unzip folder
Using Composer
composer require abelbm/magento2-disablefrontend

2 - Enable Disable Frontend

  • php bin/magento module:enable Abelbm_DisableFrontend
  • php bin/magento setup:upgrade
  • php bin/magento cache:flush
  • php bin/magento setup:di:compile

3 - Change the frontend redirect

Stores > Configuration > Advanced > Admin > Disable Frontend

About

Magento 2 module to disable frontend

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%