Tag Archives: redirection
How to make a javascript redirection script
If you need to redirect visitors from one page to another or if you changed the domain you need a redirection script. Redirection can be done in many different ways but i will show you the simplest way, that is using a java script. Java script only needs to be supported by browsers and every modern browser supports it. So java script is the best way for doing redirection.
The main part of redirection is to use window.location=”http://something.com”. Put this in one function and it will look like this:

If debugging is the process of removing bugs, then programming must be the process of putting them in.


