redirect page to another url and add new class to the new url code example
Example 1: javascript redirect
window.location.href = "http://mywebsite.com/home.html";
Example 2: how to redirect a page to another url in html
<meta http-equiv="Refresh" content="0; url=https://www.w3docs.com" />