About htaccess
How does .htaccess looks like ?
The .htaccess files is a simple document and is so called dot file .htaccess file created as a regular file with any editor. There is common problem to create .htaccess with windows text editor, it creates .htaccess as .htaccess.txt If your primary operating system is windows, create .htaccess.txt file and upload it to your server, use on-server editor to rename .htaccess.txt to the .htaccess.
.htaccess used when there is no access to the main apache server configuration files. For example shared hosting with main apache configuration that disabless access to apache configuration files. If there is no root access to the apache configuration files, we will create .htaccess file with apache server configuration commands related to our web root directory.
Htaccess file configuration is a necessary webmaster knowledge to implement better search engines optimization and a webpage security web occurence .
#1 by Angela Hayden on August 31, 2009 - 5:12 pm
Thank you for this information. I have been looking for a basic example for a while.