devxlogo

Redirecting Visitors to a New Page Using JavaScript

Redirecting Visitors to a New Page Using JavaScript

You can automatically redirect visitors from one page to another in several ways. Here’s a flexible method that uses JavaScript to modify the href property of the location object in the browser’s Document Object Model (DOM).

Remember to cater for browsers that don’t support scripting languages by also including a normal HTML link for people to click on.

 We've Moved!We've moved! Click here to visit us at our new address.

devx-admin

Share the Post: