Locating .htaccess in cpanel

How To Find .ht acccess file in cpanel

.htaccess are blank files with no names that help in preventing spam from blocking your site. htaccess files are hidden so as to help the owner of a site to be in control of specific traffic and control website. .htaccess is a file that allows customers to have the freedom to specifically execute short commands(directives) that are limited in control, in their own directories or subdirectories without requiring the httpd.conf access. These file can be commanded in httpd.config. file but httpd.conf. can only be relatively done in .htaccess file by everyone. This is because it has settings of other customers in the server and one error in httpd.conf results in errors in all .httpaccess files. Thus only the hosting provider has control over it. Actually .htaccess files are normally enabled by default in httpd.conf files. Therefore htaccess majorly defines the behaviour of the apache.

  • How to find .htaccess file;
  • Log in to cpanel
  • click on file manager

  • On settings at the top right-tick the show hidden files and save

 

 

If your .htaccess is not seen in your files use search click go and it will be displayed.

 

 

 

 

 

 

 

  • Right click on .htaccess -click edit. This is how you edit your .htaccess file and save. In our case editing is disallowed.

Was this article helpful?

Related Articles

Leave A Comment?