simplest way would be to set coldfusion to parse files with a .php extension
other than that (not knowing much at all about CF), your options may be limited to a custom 404 page and some code to replace the page extensions then redirect.
HowTo;
Grab the Querystring passed to the 404 page
Replace the "404;" ( The original URI is passed to the error page as 404;original_url )
Replace the ".php" with ".cfm" (assuming you are using the same page names)
Redirect using the code below (only bit of CF I know well enough)
Code:
<.cfheader statuscode="301" statustext="Moved permanently">
<.cfheader name="Location" value="new_url">
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
|