Solved

ISAPI REWRITE code needed for beginner

Posted on 2008-10-21
4
279 Views
Last Modified: 2013-12-24
Hi There

I have the following url

http://www.domain.com/products/index.php?category_id=$cat
and
http://www.domain.com/products/index.php?product_id=$prod

but for seo purposes would like these pages to be accessed by using the following url

http://www.domain.com/products/category_name
and
http://www.domain.com/products/category_name/product_name

I would like to have spaces replaced with hashes and for the product page would like to have the product name as well as the category name showing (is there a way to do a db query in order to get the category name)

Thanks in Advance

0
Comment
Question by:Delacourt
  • 2
4 Comments
 
LVL 25

Accepted Solution

by:
James Rodgers earned 500 total points
Comment Utility
not with isapi rewrite, it can redirect or replace the url but not run queries, you would need to build a cf page to manage your categories and create the isapi ini when categories are added/updated/deleted ans specify the rules to apply
0
 
LVL 1

Author Comment

by:Delacourt
Comment Utility
wow, could you tell me where I can find a tutorial on this ? I am using PHP on a windows box, not coldfusion ?

thanks
0
 
LVL 25

Expert Comment

by:James Rodgers
Comment Utility
i think it's a bit more complicated than what a tutorial would be able to cover, what i suggested above is not easy
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Suggested Solutions

A web service (http://en.wikipedia.org/wiki/Web_service) is a software related technology that facilitates machine-to-machine interaction over a network. This article helps beginners in creating and consuming a web service using the ColdFusion Ma…
Most ColdFusion developers get confused between the CFSet, Duplicate, and Structcopy methods of copying a Structure, especially which one to use when. This Article will explain the differences in the approaches with examples; therefore, after readin…
This video discusses moving either the default database or any database to a new volume.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now