• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Display Product Name in URL with out Extension

Participant ,
Feb 19, 2007 Feb 19, 2007

Copy link to clipboard

Copied

Hi

I want to display the product name in the URL, with out giving the product id and the file extension like below

I want like this : www.mysite.com/category/productname instead of www.mysite.com/category/display.cfm?pid=123&catid=345

I dont want to give the ext and whole query string, becuase my clients getting confuion with this query string.
does any one have any idea on this?
can any one explain how to do this.
TOPICS
Advanced techniques

Views

605

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Feb 19, 2007 Feb 19, 2007

Copy link to clipboard

Copied

Take a look at: http://www.isapirewrite.com/ the isapi filter. I believe cold fusion server has an inbuilt one. I am using it to change /profile.cfm?dir=myprofile to /myprofile where my profile is a unique identifier. I would guess you could easily do this:

www.mysite.com/category/display.cfm?pid=123&catid=345&name=productname

www.mysite.com/category/productname

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Feb 19, 2007 Feb 19, 2007

Copy link to clipboard

Copied

Hi

do you have sample code, to look into this.?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Feb 19, 2007 Feb 19, 2007

Copy link to clipboard

Copied

http://www.helicontech.com/forum/ is a good place to look.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 19, 2007 Feb 19, 2007

Copy link to clipboard

Copied

LATEST
apache + mod_rewrite all the way baby

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation