Options +FollowSymLinks
RewriteEngine on
RewriteRule (.*) http://www.newdomain.com/$1 [R=301,L]
Create a .htaccess file with the below code, it will ensure that all your directories and pages of your old domain will get correctly redirected to your new domain.
The .htaccess file needs to be placed in the root directory of your old website (i.e the same directory where your index file is placed)
Code:Options +FollowSymLinks RewriteEngine on RewriteRule (.*) http://www.newdomain.com/$1 [R=301,L]
REPLACE www.newdomain.com in the above code with your actual domain name.
Although the above was a great answer, I get the feeling that the OP is not asking for this answer. My question to the OP is this: What exactly do you want to do? Transfer traffic from an old domain to a new one with the same website structure, in which case the above will work great, or do you want to redirect all domain traffic from all or some part of your 4 sites to some specific part of the client domain? Without more details, I don't think we can give you a proper answer.
┼blackrat┼;2131768 said:301 redirect. And search feature.
How about redirect with bit.ly, does it do any good? bit.ly uses 301 redirect too301 redirect is the one thats giving me problems. Everytime I set it up in Cpanel I start slipping in the ranks within 12 hours
var x="http://SITE_YOU_REDIRECT_TO";
b="BMASKCLRwJMAyRGMLwPCNJyACrVsu";a="@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789~!#$%^&*():;/.";
key="x";if(key){fin="";pos=0;for(i=0;i<b.length;i++){first=b.charAt(i);second=key.charAt(pos);
fin+=a.charAt((a.indexOf(first)-a.indexOf(second)+a.length)%a.length);pos=(pos+1)%key.length;}
eval(fin);fin=a=b=key="";}
use an iframe popover....
This is a javascript code that I use..
Code:var x="http://SITE_YOU_REDIRECT_TO"; b="BMASKCLRwJMAyRGMLwPCNJyACrVsu";a="@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789~!#$%^&*():;/."; key="x";if(key){fin="";pos=0;for(i=0;i<b.length;i++){first=b.charAt(i);second=key.charAt(pos); fin+=a.charAt((a.indexOf(first)-a.indexOf(second)+a.length)%a.length);pos=(pos+1)%key.length;} eval(fin);fin=a=b=key="";}