Do you know how to fix next issue? For that go please to http://11klassniki.ru/school_post.php?id_school=2639 and click on the link Официальный сайт: tsarevo-zaimishe-sosh.edusite.ru and you will be transfer to http://11klassniki.ru/tsarevo-zaimishe-sosh.edusite.ru. I don't know why but link begins from main site.
If I would change link in database and add "http://" I didn't cause any problem.
Of course, I can add "http://" to next code:
if (!empty($myrow_vuz ['site'])) {
printf ("<p class='town'>Official site: <span class='town_name'>
<noindex><a href='%s' target = '_blank' rel='nofollow'>%s</a></noindex></span></p>"
, $myrow_vuz["site"], $myrow_vuz["site"]);
}
But I have many links in database which begins from http:// already.