The function below is one that we have used a few times to allow certain “admin only” assets to be accessed or visible on the front end of a website. The theory is that the htaccess file in the admin folder will be kept up to date and can therefore be used as the authoritative [...]
The post Restrict Access Using .htaccess File Rules in PHP appeared first on Edmonds Commerce. Edmonds Commerce are Magento specialist developers based in the UK.