Unable to see .htaccess file via File Manager in cPanel

  Print
Suppose you have a Magento installation, and you want to change the memory_limit or a different PHP setting through the .haccess file of your installation. In case you’re not quite familiar with working via SSH, the easier option would be to edit the file using the File Manager feature in your cPanel.

Any files that start with a .(dot) is a hidden file in a Linux environment, so you won’t be seeing this file straight away in your file manager feature, which is normal. The file manager feature has an option which enables you to show hidden files, which is something you should go for, in such cases.

You just have to click on the ‘Settings’ button at the top right, and choose to ‘Show Hidden Files (dotfiles) – which would enable this option, as shown in the following image.


9264d1751e6103050ecc1aac079c4a6a35a126dd?t=927b0ed5564deda4b37555492309ad7a

Once this is done, the file will start showing up in the file manager panel.


0b33116b539fb5769c835db1b0a4c4d5a4ae1b0e?t=9bb708af28e45572eb7503835347eb33


The same applies for any hidden (dot) files, like the “.maintenance.flag” file which you need to place under the var/ directory of your Magento 2 installation to set it in maintenance mode.



Attachments



Related Articles

Login

 
Forgot password?
Register now

Language