SEO Friendly 301 RedirectsASP-VBScript (HTTP 301)<%@ Language=VBScript %> <% ' Permanent redirection Response.Status = "301 Moved Permanently" Response.AddHeader "Location", "http://area51.mn/cs" Response.End %>
PHP (HTTP 301)<?php header("HTTP/1.1 301 Moved Permanently"); header("Location: http://area51.mn/cs"); exit(); ?>
ColdFusion (HTTP 301)<CFHEADER statuscode="301" statustext="Moved Permanently"> <CFHEADER name="Location" value="http://area51.mn/cs">
Perl (HTTP 301)#!/usr/bin/perl -w use strict; print "Status: 301 Moved Permanantly "; print "Location: http://area51.mn/cs "; exit;
Other Redirects
mod_rewriterewriteEngine on rewriteRule ^contact\.php$ http://area51.mn/cs [R=permanent,L]
Javascript<head> <mce:script type="text/javascript"><!-- window.location.href='http://area51.mn/cs'; // --></mce:script> </head>
META Refresh<head> <meta http-equiv="refresh" content="0;url=http://area51.mn/cs"> </head>