Main Page

Search:

craigslist classifieds austion shopping

Htaccess and Redirects for Dummies

Craigslist and Classifieds Online
Craigslist and Classifieds Online Craigslist and Classifieds Online
Craigslist and Classifieds Online

One of the most powerful, yet simple manipulations that can be done with your htaccess file is a basic redirect function. A .htaccess file resides in the web-root directory of most Linux servers that have Apache installed (which is a majority of the servers online). This .htaccess file is a text file which contains user-defined server configuration settings, which include URL manipulations. The simple and most common configuration setting is the redirect. Using this function, you can create pseudo directories and files on your local host that will redirect to other URLs. This can be used to hide (or cloak) affiliate links and manage the file linking structure of your website more efficiently. The syntax is simple: redirect {local/pseudo location} {destination URL} Example: redirect /google http://www.google.com If this htaccess file resides on my blog at http://www.matthewbredel.com and I typed in: http://www.matthewbredel.com/g... My host will redirect the user to: http://www.google.com

Channel: Howto & Style
Uploaded: November 30, 1999 at 12:00 am
Author: MatthewBredel

Length: 03:21
Rating: 4.40
Views: 1305

Tags: apache  cloaking  htaccess  redirect  url  

Video Url:


Embed Code:

Video Comments

mrrotweiler2 (November 30, 1999 at 12:00 am)
i use a custom .htaccess on my site to block specific IP combos, mainly the ones from predominant spamloving ones
ebowamando (November 30, 1999 at 12:00 am)
didn't get get any code pls.

Craigslist and Classifieds Online © 2007 All Rights Reserved.