Simple methods:
The PHP method forwards the request at the side of the server
and is fairly seamless to the viewer. Put this in a file and call it
<i>index.php</i> then upload to
www.domain.com/folder/:
Code:
<?php
header("Location:http://www.domain.com/newfolder/");
?>
The same effect can also be acheived by using a html meta refresh
which loads the page in the browser then refreshes it and
forwards it to the new location after a specified amount of
time. In this case we'll set it at zero seconds so the user does not
get a large delay. Put this in a file called
index.html and upload
to
www.domain.com/folder/:
Code:
<html>
<head>
<title>redirecting...</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="refresh" content="0;URL=http://www.domain.com/new-folder/">
</head>
<body bgcolor="#FFFFFF" text="#000000">
</body>
</html>
In the above examples replace domain.com with the domain in
question and you can alter the URL's to suit your needs.