Simple Website Redirections

Redirection, or URL redirection or URL forwarding is a technique that website owners and affiliates use to make a website or a landing page available under different URLs.

A site has moved to a new place, a new domain, the site owner would employ the use of redirection to take visitors of the old URL to the new one.

An online marketer uses redirections to hide or streamline his/her online business. He/she would have a central location to house all affiliate links to which redirections would be forwarded from his/her many sites. This method yields two major advantages: a way to hide affiliate links and the ease of updating outdated links.

Here are two simple ways of redirecting visitors to another site, location or landing page.

PHP Redirection

This is the content of a PHP redirecting page. To use this, your host must be running on PHP in order to handle PHP commands.

<?php
header( 'Location: http://www.URL-OF-NEW-SITE.com' ) ;
?>

Save the above content into a PHP file, with the .php extention.

HTML Redirection

The following code goes in the head section of a page.

<META HTTP-EQUIV="refresh" CONTENT="10; URL=http://www.URL-OF-NEW-SITE.com"> 

10 is the wait time in seconds before a browser takes visitors to the new site or a landing page.

Similar Articles

  1. Ten Important SEO Tips
  2. Ten Fixes For Faster Loading Webpages
  3. A simple “Share on Facebook” link
  4. Browsers Redirect
  5. Style Sheet Switcher Script
  6. How to Create a Multi-link Javascript Jump Box
  7. WordPress Popular Snippets

Hosting Encyclopedia