Digital Marketing Handbook

(ff) #1

301 redirect 175


This example works best for a refresh, or in simple terms - a redirect for webpages, as follows, however, for a refresh
under 4 seconds, your webpage will not be given priority listing on search engines. For some users, this is preferred
not to be listed. Inline, you will find the time as in seconds:
CONTENT="2
this number can be adjusted to suit your needs.
Place in your head:





JavaScript redirects
JavaScript offers several ways to display a different page in the current browser window. Quite frequently, they are
used for a redirect. However, there are several reasons to prefer HTTP header or the refresh meta tag (whenever it is
possible) over JavaScript redirects:


  • • Security considerations

  • • Some browsers don't support JavaScript

  • many web crawlers don't execute JavaScript.


Frame redirects
A slightly different effect can be achieved by creating a single HTML frame that contains the target page:




<br /> <body>Please follow <a href="http://www.example.com/">link</a>!</body><br />
One main difference to the above redirect methods is that for a frame redirect, the browser displays the URL of the
frame document and not the URL of the target page in the URL bar.
This technique is commonly called cloaking. This may be used so that the reader sees a more memorable URL or,
with fraudulent intentions, to conceal a phishing site as part of website spoofing.[19]
Free download pdf