ColdFusion 301 Redirect


/ Published in: ColdFusion
Save to your folder(s)

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.


Copy this code and paste it in your HTML
  1. <.cfheader statuscode="301" statustext="Moved permanently">
  2. <.cfheader name="Location" value="http://www.domain.com">

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.