Паштет Posted September 26, 2007 Share Posted September 26, 2007 Нужно с нового адреса сайта сделать автоматическую загрузку старого адреса. Как такой трюк делается? Link to comment Share on other sites More sharing options...
Валерий Кислов Posted September 26, 2007 Share Posted September 26, 2007 <meta http-equiv="refresh" content="xxx;url=http://yyy"> где xxx - время, через которое произойдет автоматическое перенаправление, 0 (ноль) - сразу, yyy - URL (адрес) сайта, куда перенаправлять. Как, скореее всего, понято по тегу, его нужно размещать в начале кода страницы. Link to comment Share on other sites More sharing options...
Паштет Posted September 26, 2007 Author Share Posted September 26, 2007 Валерий, огромное спасибо. Link to comment Share on other sites More sharing options...
Trotil Posted September 26, 2007 Share Posted September 26, 2007 Лучше средствами php: <? Header("Location: http://yandex.ru/"); exit; ?> Link to comment Share on other sites More sharing options...
Антон Чиграй Posted September 26, 2007 Share Posted September 26, 2007 Лучше средствами php: 156481[/snapback] И чем сие лучше? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.