Tuesday, August 10, 2010

How do i make it so when people connect to one of my sites they get switched to another site?

Im making a website and own 2 domains and iw ant to get the first domain to get redirected to the other is there and html code to do this with?How do i make it so when people connect to one of my sites they get switched to another site?
The previous suggestion is an invalid mess.





The easiest thing to do is contact your Web hosting company and ask them to make Domain A a pointer to Domain B.





The benefit of this approach is that the Web server will not send redirect headers to the client. This will aid your search engine rankings.How do i make it so when people connect to one of my sites they get switched to another site?
%26lt;HTML%26gt;


%26lt;BODY%26gt;


%26lt;SCRIPT LANGUAGE=JAVASCRIPT%26gt;


function timer()


{


var timerid = setTimeout(';gonextloc()';,5000)


}


function gonextloc()


{parent.location.href = ';http://www.destination.com';


}


timer()


%26lt;/SCRIPT%26gt;


%26lt;CENTER%26gt;


%26lt;TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0%26gt;


%26lt;TR%26gt;


%26lt;TD%26gt;%26lt;FONT FACE=verdana size = 2%26gt;%26lt;b%26gt;We've added a little more spice to create a more lively mall - destination.com%26lt;/B%26gt;%26lt;/FONT%26gt;


%26lt;/TD%26gt;


%26lt;/TR%26gt;


%26lt;TR%26gt;


%26lt;TD%26gt;%26lt;FONT FACE=verdana size = 2%26gt;%26lt;B%26gt;You'd be taken there in a moment.....%26lt;/B%26gt;%26lt;/FONT%26gt;


%26lt;/TD%26gt;


%26lt;/TR%26gt;





%26lt;/TABLE%26gt;


%26lt;/CENTER%26gt;





%26lt;/BODY%26gt;


%26lt;/HTML%26gt;

No comments:

Post a Comment