Cool, thanks Ben that did it. It didn't like the 2 seperate CFHEADER
lines, but doing it like this:
<cfheader statuscode="301" statustext="Moved
Permanently#Chr(13)##Chr(10)#Location:site/index.cfm">
worked
fine.
Hey Ryan,
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Ben Bishop
Sent: Monday, 15 May 2006 3:07 PM
To: [email protected]
Subject: [cfaussie] Re: 301 redirect in CF
<cfheader statuscode="301" statustext="Moved permanently">
<cfheader name="Location" value="http://www.newgency.com ">
To check my http header information, rather than the 301 redirect I've indicated, I get told it's a 302 redirect, which is not what I want.Try capping the 'p' in 'permanently', does that make a difference?
If not, what about:
<cfheader statuscode="301" statustext="Moved Permanently#Chr(13)##Chr(10)#Location:site/index.cfm">
(as seen on Dave Carabetta's blog recently)
http://www.cbetta.com/blog/index.cfm/2006/3/8/http-status-codes-are-important
Cheers,
Ben
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "cfaussie" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cfaussie
-~----------~----~----~----~------~----~------~--~---
