What is a JavaScript redirect?

JavaScript redirect is what helps you redirect from a particular webpage to another. This could be your site moving to a new domain. Some download sites have a time delay during redirections, which is basically the JavaScript redirect in action. If you are having some external servers mirror your site for you, you would need JavaScript redirect.

Implementing the JavaScript redirect

First open up your HTML page (most often the index.htm) and within the tags, place the following code:

Note that "http://www.tech-faq.com" should be replaced with the domain or the URL that you want to redirect your visitors to.

Downsides of JavaScript redirect

As the name suggests, a JavaScript redirect requires the user to have enabled JavaScript. While keeping JavaScript enabled is quite a common practice nowadays, there is still that odd user that will have it off. In that case, the JavaScript redirect would not work. This is because of the users' concerns regarding their security, their browsers not supporting JavaScript, or because the search engine crawlers cannot execute the JavaScript redirection codes.



Top 5 Free Networking Tools

Bookmark What is a JavaScript redirect?

Latest Blog Posts


English English GermanGerman SpanishSpanish FrenchFrench ItalianItalian PortuguesePortuguese RussianRussian DutchDutch
GreekGreek HindiHindi JapaneseJapanese KoreanKorean ChineseChinese Chinese (Simplified)Chinese (Simplified) ArabicArabic

Copyright 2009 Tech-FAQ. All rights reserved. Privacy Policy.