=============================================================
Original posted by OWG of Umbrella Consultancy, umbrella-consultancy.co.uk
=============================================================
Creating a .htaccess File to Configure a 301 Redirect
------------------------------------------------------------------
The .htaccess file should be in the DocumentRoot directory for your web site. IMPORTANT. check to see if there is already a htaccess file there, if there is then download that, and ADD the instruction below, then upload it.
NEVER edit the htaccess in word or any other stylesheet type text editor as they create underlying code. use either notepad, or WordPad.
The .htaccess file contains two columns. The first column is what you want redirected and the second column is where you want it redirected to.
For example, to redirect an entire web site to another site:
Redirect 301 / newdomain.com/
Or, to redirect just one page to another page:
Redirect 301 /index.htm domain.com/index.html
This will cure all ills
OWG
---------------------------------------------------------
Original post can be found here:http://forums.ukwebmasterworld.com/viewtopic.php?p=2649#2649
Original posted by OWG of Umbrella Consultancy, umbrella-consultancy.co.uk
=============================================================
Creating a .htaccess File to Configure a 301 Redirect
------------------------------------------------------------------
The .htaccess file should be in the DocumentRoot directory for your web site. IMPORTANT. check to see if there is already a htaccess file there, if there is then download that, and ADD the instruction below, then upload it.
NEVER edit the htaccess in word or any other stylesheet type text editor as they create underlying code. use either notepad, or WordPad.
The .htaccess file contains two columns. The first column is what you want redirected and the second column is where you want it redirected to.
For example, to redirect an entire web site to another site:
Redirect 301 / newdomain.com/
Or, to redirect just one page to another page:
Redirect 301 /index.htm domain.com/index.html
This will cure all ills
OWG
---------------------------------------------------------
Original post can be found here:http://forums.ukwebmasterworld.com/viewtopic.php?p=2649#2649