This extension adds a feature which allow to deny access to certain pages by displaying a 404 error page.
Magento Open Source Edition 2.2 or 2.3
- Switch to your Magento project root
- Run
composer require shopigo/magento2-extension-access-restriction
- Download ZIP Archive
- Switch to your Magento project root
- Create folder
app/code/Shopigo/AccessRestriction
- Extract zip into path
- Switch to your Magento project root
- Run the following commands to enable the module and clear static contents generated by Magento:
php bin/magento module:enable Shopigo_AccessRestriction
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
- Log into your Magento back-office
- Go to the menu "Stores > Configuration > Shopigo Extensions > Access Restrictions"
- Configure your rules in the field "Restriction Rules"
- Set the parameter "Enabled" to "Yes"
- Flush Magento caches from the menu "System > Tools > Cache Management"
If you have any issues, open a bug report in GitHub's issue tracker.
Version 1.0.2 (2019-02-07)
- Fix composer.json for Magento 2.3
Version 1.0.1 (2018-10-09)
- Fix composer.json for Magento 2.2.0-2.2.5
Version 1.0.0 (2018-09-01)
- First version
The code is licensed under Open Software License ("OSL") v. 3.0.
Enjoy!