Permanent redirection is a method used to configure 301 status code for your site. This redirection status code tells the web client that the location for the requested resource has permanently changed. Upon receiving this status code, the web client can update the URL with the new location.

There are several options for creating custom 301 redirects for your web server:

1. You can request Intermedia to create a custom 301 redirect for your web server. 

  1. Log in to the Extended Services portal from HostPilot Control Panel> Support > Extended Service Requests.
  2. Choose the Create custom 301 redirects extended service.
  3. Type the page name you want to create a custom redirect for.
  4. Type the URL for the redirection.
  5. Click the Submit Request button.

Note: For each 301 redirect you'll be charged the standard fee specified for your Plan.

Read the Knowledge Base article on How to use the Extended Services portal for more information.

2. You can create a special redirect script which will catch requests to your site and redirect them to the specified page. The difference between a standard redirect script and a permanent redirect script is that the permanent redirect will also respond with a special status info which will look similar to the response given by the web server (when the redirect is configured on the server side). For an example of a standard redirect script, read the Knowledge Base article on How does the additional domain names option work?.

Here are examples of 301 redirect scripts; you can use any of them depending on what scripting language you are using:


<%@ Language=VBScript %>
Response.Status="301 Moved Permanently"
Response.AddHeader "Location", ""


If InStr(Request.ServerVariables("SERVER_NAME"),"www") = 0 Then
Response.Status="301 Moved Permanently"
Response.AddHeader "Location","http://www." & Request.ServerVariables("HTTP_HOST") & GetFilePath
End if


<script runat="server">
private void Page_Load(object sender, System.EventArgs e)
Response.Status = "301 Moved Permanently";


<cfheader statuscode="301" statustext="Moved permanently">
<cfheader name="Location" value="">

<CFIF FindNoCase("www.","#CGI.SERVER_NAME#", 0)>
<cfheader statuscode="301" statustext="Moved permanently">
<cfheader name="Location" value="http://www.#CGI.SERVER_NAME##CGI.path_info#">


Header( "HTTP/1.1 301 Moved Permanently" );
Header( "Location:" );

To give you an example, we also use a permanent redirect script for our site and // points to // As a result, when a search engine requests //, it receives the following response:

#1 Server Response: //
HTTP Status Code: HTTP/1.1 301 Moved Permanently
Connection: close
Date: Thu, 20 Jul 2006 16:54:31 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Location: //
Content-Length: 28099
Content-Type: text/html
Cache-control: private
Redirect Target: //

#2 Server Response: //
HTTP Status Code: HTTP/1.1 200 OK
Connection: close
Date: Thu, 20 Jul 2006 16:54:31 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Content-Length: 28099
Content-Type: text/html
Cache-control: private