How do I redirect a replpage to another page
I want to redirect https://homepage-practice.abdelhamidabual.repl.co to https://homepage-practice.abdelhamidabual.repl.co/index
This question has been answered, do not post any more answers here, thank you.
Voters
InvisibleOne (2674)
location.href='https://yourwebsitename.com'
abdelhamidAbual (1)
@InvisibleOne I already have my question answered, thank you.
UnluckyFroggy (917)
Put this in you html file:
<script>
setTimeout(function(){
window.location.href="http://www.google.com"; // The URL that will be redirected too.
}, 3000); // The bigger the number the longer the delay.
</script>
Replace 'time' with the amount of SECONDS you want until it does it, Replace 'LINK' (leave url= there) with the url of what you're redirecting to.