Can we use .htaccess file in cold fusion for implementinf 301 redirects ?

Discussion in 'Programming' started by e-marketing guru, Jun 25, 2010.

  1. #1
    My question is that is it possible to implement 301 redirect to create search engine friendly URL's e.g


    www.example.com/new/index.cfm?id-347 ---301 redirects to---> www.example.com/news/latest-news

    without causing infinate loops , cold fusion gurus could you please show me how to create the proper rules( in .htacees file) to look at a combination of directory structure and URL parameter(s) in the conditional statements, etc.

    Site is hosted at apache server.

    Please let me know the directions and if you need more explanation I am here.Cheers
     
    e-marketing guru, Jun 25, 2010 IP