Cuz every server is running on apache?in htaccess file ?
From where to where?
Maybe I can help more if you explain what's needed to be done in more details.
<a href="new-link">link</a>works
JS redirect. Dynamic insert if you only need it for specific casesI mean an automatic redirect without user action.
(function() {
window.location.href = "link where to redirect;
})();