Geek's place

How To make an web redirection ?

Use the refresh attribute. Just put the following html page at the old location.

This sample waits 2s before to redirect.

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
  <meta http-equiv="refresh" content="2;URL=the new location">
    <h1>This page has moved to <a href="New location">New location</a>
    <p>If nothing happens within a few seconds, please click on the link.</p>

Other solution in php (this example is to force use of https):

if ($_SERVER['SERVER_PORT'] != 443) {
   header("HTTP/1.1 301 Moved Permanently"); //For webbots
   header("Location: https://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']);

Also possible with .htaccess file.

Redirect permanent /
Redirect 301 /
RedirectPermanent /
Design selector