ChristopherBerman Posted September 10, 2021 Share Posted September 10, 2021 Site URL: https://www.nordlysenergi.com/ Is there a simple way to redirect Naked domain(Root domain) to another page with JavaScript? and if so does any one have a quick solution? Example -> nordlysenergi.com (Root domain) ---> nordlysenergi.com/strom/ 301 redirect does not work for this. Link to comment
tuanphan Posted September 11, 2021 Share Posted September 11, 2021 Use this JS code Quote <script> window.location.href = "/strom"; </script> Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment