I know someone knows a better way but I have done it in the application.cfm using cfheader statuscode=301, statustext=Moved Permanently then another cfheader name=Location value="new url". First detecting whether it's the page in question of course.
-- Ryan LeTulle On Fri, Jun 5, 2009 at 12:22 PM, <coldfusion.develo...@att.net> wrote: > > All, > > We have over 100 cfm pages that we'll need to redirect to a reduced number > of new, > few jsp pages. Is the best way to do this at the server, IIS level or > through the webpage > level. > > I'm thinking, detect all requests globally and if they have a .cfm > extension, look up that > page in a db and serve up the replacment page. > > Thoughts? > > Thanks > > D > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323210 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4