Magic of .htaccess file in Internet marketing


The .htaccess file and the power it has to improve your website. Although .htaccess is only a file, it can change settings on the servers and allow you to do many different things, the most popular being able to have your own custom 404 error pages. .htaccess isn’t difficult to use and is really just made up of a few simple instructions in a text file. If your server runs Unix or Linux, or any version of the Apache web server it will support .htaccess, although your host may not allow you to use it.

There is a huge range of things .htaccess can do including:

password protecting folders, redirecting users automatically, custom error pages, changing your file extensions, banning users with certian IP addresses, only allowing users with certain IP addresses, stopping directory listings and using a different file as the index file.

Custom Error Pages

The first use of the .htaccess file which will cover is custom error pages. These will allow you to have your own, personal error pages (for example when a file is not found) instead of using your host’s error pages or having no page.

This will make your site seem much more professional in the unlikely event of an error. It will also allow you to create scripts to notify you if there is an error (for example I use a PHP script on Free Webmaster Help to automatically e-mail me when a page is not found).

You can use custom error pages for any error as long as you know its number (like 404 for page not found) by adding the following to your .htaccess file: ErrorDocument errornumber /file.html If the file is not in the root directory of your site, you just need to put the path to it: ErrorDocument 500 /errorpages/500.html

These are some of the most common errors:

401 – Authorization Required

400 – Bad request

403 – Forbidden

500 – Internal Server Error

404 – Wrong page

Then, all you need to do is to create a file to display when the error happens and upload it and the .htaccess file.
Written by
Internet Marketing Company | Internet Marketing : Toputop.com

Creative Web Design : Dotndot.com

Share and Enjoy:
  • MySpace
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • BlinkList
  • Technorati
  • Sphinn
  • Propeller
  • StumbleUpon
  • Spurl
  • Furl
  • Live
  • De.lirio.us
  • Mixx
  • MisterWong
  • Reddit
  • scuttle
  • TwitThis
  • Wists
  • YahooMyWeb
  • Yigg
  • blogmarks
  • Faves
  • Ma.gnolia
  • NewsVine
  • DZone
  • connotea
  • IndianPad
  • LinkaGoGo
  • Netvouz
  • Slashdot
  • Simpy
  • blinkbits
  • BlogMemes
  • Fark
  • Fleck
  • ThisNext
  • Blogosphere News
  • co.mments
  • Gwar
  • MyShare
  • Shadows
  • Socialogs
  • Upnews

RATE ARTICLE

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

Leave a Reply

Additional Articles From "SEO"

  • On Page and Off Page Optimization in SEO
  • A business that would like to have online presence should consider in having a website. Having a website alone will not serve the purpose. To have sales, you should propel some traffic to their site. (…)

  • Importance of TQM in Success of Emergency Services
  • Agility and accuracy is the key of success of any emergency service. The quality of emergency services includes wide variety of quality aspects, all of which are important. (…)

  • Video Search Engine Optimization (Video SEO)
  • Video SEO:  Video SEO is defined as the new form of optimizing video content via search engines like Google Video, Blinkx or any of 1000’s of Video Search Engines. (…)

  • Video Internet Marketing
  • Viral/Video Marketing is the sharing of information through internet mails and social media web2.0 channels. It is a simple way to reach as many people as possible in short span of time. (…)

  • Strategic Window in Dynamic Market
  • What is a Strategic Window? (…)

  • Search Engine Optimization Process
  • Search Engine Optimization is absolutely a strategy with perfect research and implementation.
    So it is of three main steps
    1. Planning
    2. Researching
    3. (…)

  • Introduction to Marketing:
  • Marketing : Marketing is analyzing and satisfying consumer needs.A stratagical planning and executing of a set of objectives to bring buyers and sellers together so that a sale
    can take place. (…)

  • Logo Design Process and Steps:
  • Avoid complicated or detailed pictures
    Complex images look great on well-printed letterheads, but logo designs like this never survive in small-space press advertisements or on promotional goods. (…)

  • Inbound Link Building in Internet Marketing
  • A technique to generate inbound links to a website to increase web traffic and internet popularity. (…)

  • Internet Marketing Analysis
  • If you have a business of some type to improve your customer’s reputation or compete with competitors you require a strong tool or weapon to have proactive manipulations to the business. (…)

SEO Powered by Platinum SEO from Techblissonline