0

In magento we have following areas by default.

  • admin
  • adminhtml
  • catalog
  • crontab
  • doc
  • frontend
  • global
  • setup
  • webapi_rest
  • webapi_soap

How to disable particular area? for example front end area?

update: completely remove frontend area.

I need only rest ,soap, adminhtml, admin, setup, cron.

0

You can use the following module: https://github.com/abelbm/magento2-disable-frontend.

| improve this answer | |
  • i will use magento only for rest api calls. i need to remove completely. – sivakumar Apr 29 '19 at 14:34
  • this module description saying this " Disable the frontend in Magento 2 for using only the Admin and the API routes." – Chandresh P. Apr 29 '19 at 14:35
  • there is similar question already there on the stackexchange, you can refer this answer magento.stackexchange.com/a/141432/32047 – Chandresh P. Apr 29 '19 at 14:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.