A clear way to redirect to another website is to use frames. Here below a simple code to put in your index.html:
1 2 3 4 5 6 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-gb" lang="en-gb"> <frameset><frame src="http://www.newsite.com"></frame></frameset> </html> |
For a better result a title and a shortcut icon can be added to have a result closer to the final website. Here below the new example code:
1 2 3 4 5 6 7 8 9 10 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-gb" lang="en-gb"> <head> <title>WebSite Title</title> <link href="http://www.oldsite.com/images/favicon.ico" rel="shortcut icon" type="image/x-icon" /> </head> <frameset><frame src="http://www.newsite.com"></frame></frameset> </html> |





