You dont need a database to do it, it's a little .htaccess redirect trick. However AFAIK .htaccess redirect changes the URL to the latter after the redirection. So for example if in your address bar you write:
https://vborg.vbsupport.ru/hdhd...showthread.php?
you are automatically moved to
http://www.vbulletin.org/yourphp.php=id1
if set in .htaccess, but right after the redirection, your URL line will be read as:
http://www.vbulletin.org/yourphp.php=id1
as well..I'm not aware if there is an advanced tip to prevent this behaviour..