How is auto-redirecting done?

How to Optimize Your Website
for Google's
Top 10 Ranking

  • Home Page
  • Search Engine Optimization
  • 6 high ranking tips
  • Increase targeted traffic
  • 15 Adwords campaign errors
  • keywords in graphical pages
  • link popularity building
  • linkpopularity
  • making keyphrases
  • metatag meta keyword tag
  • no quick fix high rankings
  • optimization title tags
  • updates-key area
  • without usability
  • anatomy optimization
  • automate link building
  • auto-redirecting facts
  • auto redirecting methods
  • build up links
  • business optimization
  • changing the front tag faq
  • Click fraud
  • cloaking
  • common sense
  • competitors traffic faq
  • consulting
  • copyrighting
  • copywriting techniques
  • corporate
  • defective link building
  • DMOZ open directory project
  • doorway pages
  • doorway pages facts
  • dynamic generated pages
  • ethical
  • faq
  • files buried on my server faq
  • destruction of ranking
  • freelance programing
  • full optimizing
  • getting new files indexed
  • glossary
  • google advice for website
  • google view
  • google help
  • hiring marketing company
  • how to find good keyword
  • improve ranking
  • inside you had me
  • keyword affect
  • keywords phrases
  • letting experts do work
  • link inbound exchange
  • link optimizer
  • link popularity
  • marketing professional
  •  metatag description
  • myth gateway and doorway
  • myth guaranteed position1
  • net promoter
  • number of links affect
  • keywords rich domain
  • open directory
  • optimization of a framed site
  • optimization
  • optimization your page
  • optimizing your image alt
  • page optimization
  • pay per click buying your way
  • payment for search engine
  • plant you site at the top
  • popularity
  • prevention traffic loss
  • question mark affect
  • rates
  • relationship search engine
  • right to link popularity
  • secret benefit
  • secret of a higher ranking
  • should I add a robot tag
  • should I bold keyword
  • should I create a blog
  • about competitors who spam
  • optimizing singular plural
  • should not be done to spam
  • sitemaps hypertexts links
  • six powerful ways
  • software development
  • spam the facts
  • seeding-submission
  • strategic link analysis
  • strategic analysis
  • submission
  • submitted site banned
  • switching host affect faq
  • ten tips to the top
  • the bottom line
  • the basics
  • time chart
  • tips correct keywords
  • title tags
  • training
  • using zeal to look smart
  • submit yahoo zeal DMOZ

  • Our Partners

    How is auto-redirecting done?

    There are a number of ways of redirecting. Here are the two main ones:-
    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.
    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 script:-
    <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.
    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:-
    <script language="JavaScript" src="filename.js"></script>

    Summary
    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. That's what I'll come to next.

    Google