Skip to main content
Participant
April 22, 2009
Question

How do I replace a URL in the address bar with a 'friendly' URL?

  • April 22, 2009
  • 2 replies
  • 928 views

I have database driven site. Users drill down through products but the URL in the address bar looks like this:

http://www.mydomain.com/products/product.cfm?productID=3

I can obviously change this to:

http://www.mydomain.com/products/product.cfm?productname=screwdriver

by altering the query in the product.cfm page but what I would really like is this:

http://www.mydomain.com/product/screwdriver

Any ideas?

Thanks

This topic has been closed for replies.

2 replies

April 22, 2009

I just found an article yesterday with instruction on how to do this. I haven't tried out yet but have it bookmarked:

http://forums.crystaltech.com/index.php?topic=34030.0

Let me know if it works!

ilssac
Inspiring
April 22, 2009

nickandjulie wrote:

Any ideas?

There are many solutions for this type of functionality.  Some are completely done with the web server, some are completely done with ColdFusion and some use a bit of both.  There are different advantages and disadvantages for each.  A Google search for 'Search Engine Friendly" URLs should return step by step details for several options.