ColdFusion 301 Redirect

Submitted by:Jhon Smith

Date added:26 February, 2011

Category:ColdFusion

This redirects visitors to a new URL using a 301 redirect. Using a 301 redirect is the safest way to let search engines like Google, Yahoo!, Live and Ask know your address has changed.

Tags: redirect visitors , 301 redirect , redirect

Code Snippet:

      <.cfheader statuscode="301" statustext="Moved permanently">
<.cfheader name="Location" value="http://www.domain.com">
 
 

Comments