Redirect from your old site

Redirecting from your former site

Once you are good to go with your new WordPress based USNA Alumni NETwork site and until such time you can have your old site killed, you can replace the index.htm or index.html file at your former site with this code (replacing XXXX with your subdomain):

<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<meta name='robots' content='noindex,follow' />
<meta http-equiv="refresh" content="3;url=http://XXXXX.usnachapters.net">
<script type="text/javascript">
window.location.href = "http://example.com"
</script>
<title>Page Redirection</title>
</head>
<body>
If you are not redirected automatically, follow the <a href='http://XXXXX.usnachapters.net'>link to XXXXXX</a>
</body>
</html>

And to alert search engines to not index your former website, create a robots.txt file with the following code and replace/place the file in your root directory:

User-agent: *
Disallow: /