SyntaxFix
Write A Post
Hire A Developer
Questions
Another option is:
window.location.replace("your_url")