The .htaccess is a hidden file usually kept in the root directory of a web application that stores information and provides more control over the web hosting server. Some server applications can be accessed with .htaccess files, and the information that is entered can also control who can visit a website or server. .htaccess can also help to control what “bots” or programs can surf a website as well. Most websites have a need for a .htaccess file to perform additional functions or to enhance security. .htaccess has a specific language that is required to make necessary changes to the file. You can access the .htaccess file through either your FTP program or the file manager. The period is what identifies the file as hidden (with Linux web hosting architecture).

Below is an example of an .htaccess file:

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule ^(.+).pdf$  /cgi-bin/pdf.php?file=$1 [L,NC,QSA]

For more information on the .htaccess file and possible uses, please see:

Web Design Services Starting at $289
SEO Services Starting at $140 per month
Web Hosting Services starting at $79 per year
We offer the highest quality in web design and marketing. We specialize in nonprofit (NPO, 501, NGO, Not for profit) organizations and small business contractors (including roofers, carpet companies, cleaning companies, landscape companies, remodeling/construction companies). We are based in Omaha, Nebraska, but we have customers located across the United States.
If you would like to know more about our company and who we are, feel free to look at our about us page, and how we can help you enhance your business.

Feel Free to Share!

Leave a Reply

Your email address will not be published. Required fields are marked *