Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7009619
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T21:53:09+00:00 2026-05-27T21:53:09+00:00

I am using ColdFusion 9.0.1. I have a new web site that uses Bikes.cfm

  • 0

I am using ColdFusion 9.0.1.

I have a new web site that uses Bikes.cfm and Makers.cfm as template pages. I need to be able to pass BikeID and MakerID to both of the these pages, along with other variables. I don’t want to use the Actual page name in the URL, such as this:

MyDomain.com/Bikes.cfm?BikeID=1234&MakerID=1234

I want my URL to look more like this:

MyDomain.com/?BikeID=1234&MakerID=1234

I need to NOT specify the page name in the URL.

I want these two URLs to access different data:

MyDomain.com/?BikeID=1234&MakerID=1234 // goes to bike page
MyDomain.com/?MakerID=1234&BikeID=1234 // goes to maker page

So, if BikeID appears in the URL before MakerID, go to the Bikes.cfm page. If MakerID appears before BikeID, go the Makers.cfm page.

Is there an easy and existing method to arrange the URL keys in such a way to have them point to the appropriate page?

Should I just parse the the URL as a list and determine the first ID and go to the appropriate page? Is there a better way?

Any thoughts or hints or ideas would be appreciated.

UPDATE — It certainly appears that using the order of parameters in a URL is a bad idea for the following reasons:

1) many programs append variables to the URL
2) some programs may reorder the variables
3) GoogleBot may not consider order relevant and will most likely not index the site correctly.

Thanks to everyone who provided advice in a positive manner that my approach was probably a bad idea and would not produce the results I wanted. Thanks to everyone who suggested alternate means to produce the results I wanted.

If anyone of you positive people would like to put your positive comment/advice as an answer, I’d be happy to accept it as the answer.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T21:53:09+00:00Added an answer on May 27, 2026 at 9:53 pm

    Despite my grave misgivings about the whole idea, here’s how I would do it if I were forced to do so:

    index.cfm:

    <cfswitch expression="#ListFirst(cgi.query_string, '=')#">
    
      <cfcase value="BikeID">
         <cfinclude template="Bikes.cfm">
      </cfcase>
    
      <cfcase value="MakerID">
         <cfinclude template="Makers.cfm">
      </cfcase>
    
      <cfdefaultcase>
         <cfinclude template="Welcome.cfm">
      </cfdefaultcase>
    
    </cfswitch>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using ColdFusion 9.0.1 I have a new site that is accessible through
I have included numerous coldfusion and html files in CFM pages using the <cfinclude>
I have a web application, written in ColdFusion, which periodically starts using 100% of
I'm using ColdFusion to populate a template that includes HTML unordered lists ( <ul>
I have web site set up that has some forms authentication through LDAP. I'm
I'm using Coldfusion ORM (Hibernate), and have a cfc mapped to a database table.
I have a webservice programmed in coldfusion which I'm attempting to consume using c#.net.
We are using ColdFusion MX7. The CFDOCUMENT tag uses iText for the PDF creation
I have a coldfusion 8 webservice that returns an array <cffunction access=remote name=testMethod returntype=array>
I have a list of UTF-8 strings that I want to sort using Enumerable.OrderBy

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.