Join our Webmaster forum

 Join the Free PHP Lessons List. Subscribe using the form on the right sidebar

HTACCESS

1 views

Every website owner should be familiar with what .htaccess is and how to use it. htaccess stands for Hypertext Access, which is a directory-level configuration file used on Apache web servers.

In order for a user to see, modify or create an .htaccess file, you’ve got to have the correct file permissions. Some cheaper, “small time” or free web hosts do not allow you to create or modify your own .htaccess file, but 99% of your typical shared hosting companies do.

These tutorials include helpful htaccess tips and tricks that will help you get the most out of your website’s functionality and even improve your search engine rankings through search engine optimization (SEO) by using your .htaccess file.

The first step is to login to your hosting account in order to access and modify your files. This can be done through your web based file manager if it’s provided by your hosting company, but I strongly suggest using FTP (file transfer protocol) through an FTP client software such as those mentioned in our FTP software recommendations article.

You want to browse to the root of your publicly viewable folder. This is usually named “public_html” or “www”. This is the folder where your homepage is located, for example when someone types in “www.yourdomain.com”.

If you don’t already have an .htaccess file in that folder, go ahead and create one. Please note that .htaccess is actually named as a file extension- there is no text before the period. The file name has to be exactly “.htaccess”. At this point, it can be just a blank file.

It is extremely important that your .htaccess file have the correct permissions set in order to prevent other people from modifying the file and taking control over your entire website. The permissions should be set at “644, rw-r-r”. With most FTP software, you can check the permissions by right clicking on the file and choosing “permissions” or “CHMOD”.

Now that you’re .htaccess file is created, you’re ready to go! Just click on any of the tricks in the right hand column that interest you, and you will be shown exactly how to accomplish them by using your htaccess file.



Like what you see? Be automatically notified of updates: Full Feed RSS  Email Subscription
  Free Online Tutorials

Free PHP Lessons in your Inbox!

Subscribe to the JWRmedia PHP Lessons email list and receive daily lessons, tips and freebies!

Name:
Email:
SPAM PROOF!

What Is JWRmedia?

JWRmediaJWRmedia is a daily updated blog aimed to help its readers design, market and optimize their websites as best as possible.

The owner of JWRmedia, George, also provides a wide range of Wordpress support including custom theme design, ad integration and Wordpress consulting either online or by telephone.

Advertise On JWRmedia  Get noticed! Advertise on JWRmedia.com.


SITE INFO:
54 queries executed in 0.301 seconds. (Server GP)

Warning: fwrite(): supplied argument is not a valid stream resource in /home/bretr/public_html/blog/hits.php on line 6

Warning: fclose(): supplied argument is not a valid stream resource in /home/bretr/public_html/blog/hits.php on line 7
1 pages loaded to date.

Bulletin Board

JWRMedia.com has Merged with Triphp.com . Read the latest news on our home page.- December 5th, 2009
Add to Technorati Favorites
Marketing / SEO Top Blogs