URL Redirection Help In Cold Fusion

Discussion in 'Programming' started by rockyraj, Jul 11, 2012.

  1. #1
    I am new to cold fusion and need to change the URL format of the website pages/links. Currently below is the format of the pages. Please notice (index.cfm) in every link after domain name and before page name. All the links on the website has same format like (http://domainname/index.cfm/pagename)

    About Us link --> www.abc.com/index.cfm/about-us
    Client link --> www.abc.com/index.cfm/our-client


    They want to remove index.cfm from every link so that URL looks clean like

    About Us link --> http://www.abc.com/about-us
    Client link --> http://www.abc.com/our-client


    I need help in resolving this issue as I am not sure where I should be looking in the code to make the change. Any help would be appreciated.

    Thanks
     
    rockyraj, Jul 11, 2012 IP
  2. Aeromir

    Aeromir Active Member

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    56
    #2
    If you're on an IIS server that you have access to, use Helicon Tech Isapi rewrite.

    Their forum is awesome and they will help you write your re-write rules.
     
    Aeromir, Aug 20, 2012 IP
  3. Renatus

    Renatus Member

    Messages:
    216
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    35