Transfer to another page JavaScript

Hello

Faced a problem. Previously, I used the Hosting from Yandex, as it was enough HTML. However, the needs rose and had to move to hosting, where PHP is supported. On the old page, I placed the script so that old users did not lose:

<html>
    <body>
        <script>
            navigate("http://www.tuda.ru/index.php");
        </script>    
    </body>
</html>

was very pleased when I noticed the result in Opera. Immediately disappointed when I learned that on the Mozila Firefox the script does not work and does not move anywhere …

Tell me, please solve this problem.


Answer 1, Authority 100%

Three options (JS and HTML):

location.replace('[URL]');  
location.href = '[URL]';  
<META HTTP-EQUIV="REFRESH" CONTENT="0;URL=[URL]">

[URL] – the desired address.