Share Facebook Twitter LinkedIn WhatsApp Pinterest Email I once made a post on how to redirect web pages using javascript, here is a simple redirect script for php users. Make sure the code is placed immediately below the tag as shown below. And that’s it.