AnOwnSite header

How htaccess solves many webmaster problems.


The sheer htaccess power

If your website runs on an Apache server, you can use htaccess to solve some common webmaster problems.
Many webmasters underestimate the htaccess possibilities or aren't even aware of them.
Let's try to change this here and see, if we can keep it as simple as possible, so that every webmaster, experienced or newbie, can use htaccess successfully.

Basically, htaccess is a simple text file. Creating and maintaining one requires a text editor like Notepad of Note Tab Light.
Instead of giving the htaccess file a name and an extension, like 'textfile.txt', it only has an extension: .htaccess
The full stop in front of htaccess is required.

I'm going to describe some basic htaccess options here that will solve many webmaster problems in a snap. Master them first and then search the web for more complicated applications.
Well, these are the most common uses for htaccess.

Try them, implement and test them. If that taste like more, search the net for .htaccess. You will find tons of resources.


Some important remarks about the htaccess file
  1. Always download your latest htaccess file to your hard drive to see what's on it! You see, many websites can be maintained by a shell like Cpanel. If you use that, for instance, to deny access to a certain IP address, Cpanel will write a line of code to your htaccess file. If you didn't download the latest version and leave that line in there, you could easily overwrite any lines added by Cpanel.
  2. In general, if you're not experienced yet, it's a good idea to leave anything in the htaccess file once downloaded (unless you know what you're doing of course). You can simply add new commands at the bottom of the existing file. But for maintenance reasons, keep similar lines together. It makes it easier to read the htaccess file.
  3. Since this is a text file, you will always need to upload it to your server in ASCII mode.
  4. Furthermore, for security reasons, you need to CHMOD the htaccess file to 644 (RW-R--R--) so that your Apache server can read it, but browsers can't. Otherwise your security could be seriously compromised.



affordable online strategies
Navigation
Internet Marketing Strategies Home
Make Money Online
Internet Marketing Strategies
Our Products
Product Reviews
Articles
How To Generate Web Site Traffic
Webmaster Resources
Partners
Your Local Business
Affordable Online Strategies Newsletter
About Case Stevens
Contact An Own Site

Subscribe to our newsfeed Subscribe to News Feed

Affordable Internet Marketing Blog

Internet Marketing News
Latest Google News

Latest reviews
Ultimate Guide To Spam And Anti-Spam Management
Inside the Media Mindset
Gmail, Google's free email service
Spyware Nightmare! (mini-course)
Software Products Reviews
MySpace Questions Answered

Affiliates
AnOwnSite Affiliate Program Sign Up
AnOwnSite Affiliate Log In