I have been using cfheader for 301 without any issues.

-----Original Message-----
From: Matthew Smith [mailto:[email protected]] 
Sent: Tuesday, August 17, 2010 9:39 AM
To: cf-talk
Subject: best 301 method


Which is preferred?

<cfheader statuscode=”301″ statustext=”Moved 
permanently” /> <cfheader name=”location” value=” 
http://www.mysite.com/new-location-for-content/” />

or
<cflocation
url = “http://www.mysite.com/new-location-for-content/”
addToken = “no”
statusCode = “301″>

Redoing all links on my site for better seo.

--
Regards,
Matthew Smith




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336338
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to