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.

1 Answer 1

0

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

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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