earn money, make money advertising, marketing promotion, websites
Home | Free Articles | Support | Blog | Help/Faq's | Account Login
Browse Free Articles
Our latest free articles are listed below.
  Advertising Online
  Blog for SEO ?
  Boost Your Traffic
  Doorway Pages
  Make Google Cash
  Marketing Failure
  Successful Blogger
  The Benefits of eBay
  To Do Auto Redirect
  Where Can I Start

Recommended Ads
 The Best Free Stuff
Free Software: screensavers,
games, educational, cooking
software.
 Free Beauty or Jewelry
Enter to Win this Sterling
Silver Heart Earrings and
Necklace from Macys
 Free Rewards Now!
Get rewarded for visiting
websites, playing games,
shopping, FREE!
 Custom Built Websites
We build custom Php & MySQL
websites and specialize in
building clones.


TheRichJerks.Net :: Main Articles :: To Do Auto Redirect

To Do Auto Redirect

How is auto-redirecting done?

There are a number of ways of redirecting. Below I will explain the details of a few methods that you can use to do auto redirections on your website. Be sure to over-look these methods to see which one is best for you and what it is that you want to accomplish.

The Meta Refresh Tag
<meta http-equiv="refresh" content="5;url=http://domain.com/page.htm">

This tag, which should be placed in the HEAD section of the redirecting page, tells the browser to refresh the page by loading the stated URL. The "5" tells the browser to do it 5 seconds after loading.

Nobody is against this method as long as the number of seconds delay is sufficient for the surfer to see the page and to be able to read some of it. A typical use is after posting a message in a forum where the poster is given a confirmation page that, after a few seconds, automatically returns to the forum.

We build custom Php & MySQL websites and specialize in building clones
Get rewarded for visiting websites, playing games, shopping, FREE!
Enter to Win this Sterling Silver Heart Earrings and Necklace from Mac

However, some people question this method when the delay is set to 0(immediate) or a tiny number of seconds. I have shown that there is nothing whatsoever wrong with an immediate redirect. I have shown that search engines are happy to do it, and I have shown that people want to go to what the link text tells them is at the other end - without any delays. There are valid reasons to set the delay to 0. Setting it higher than 0 and delaying the surfer en-route, for the sake of making some silly people happy, is just plain stupid.

Javascript Redirect

<script language="javascript"><!--
location.href="url"
//-->
</script>
where url is the full or relative URL of the page to redirect to. Better still is the following piece of code

><script language="javascript"><!--
location.replace("url")
//-->
</script>
In this case, the redirecting page is not retained in the browser's History, and the Back button goes to the page before the redirecting page, thereby avoiding that awful trap where clicking the Back button takes you back to a redirecting page, which immediately redirects you forward again to the page you want to leave.

The above is a typical example of an immediate redirect to the specified URL. If the script is placed in the HEAD section at the top of the page, the redirection occurs straight away, otherwise it may take a short time for the page to render before the browser even realizes that the script exists.

We build custom Php & MySQL websites and specialize in building clones
Get rewarded for visiting websites, playing games, shopping, FREE!
Enter to Win this Sterling Silver Heart Earrings and Necklace from Mac

If required, the script can be stored in an external file and loaded by the following line, where "filename.js" is the path and name of the external file such as

I have demonstrated that there is nothing wrong or unethical with the auto-redirecting method as used in search engine optimization, provided that the final destination contains what the surfer expected to see. But the main cause of complaint about the method is when an auto-redirecting doorway page is listed in the search engine results.

James - Owner
TheRichJerks.Net

Free Software: screensavers, games, educational, cooking software.
Save money on your favorite products and services right now, Join Now.
Enter to Win this Sterling Silver Heart Earrings and Necklace from Mac

Home | Free Articles | Support | Site Terms | Privacy | Account Login
Creation & Design - © 2008 TheRichJerks.Net All Rights Reserved.
All other copyrights belong to their respective owners.