Solved

ISAPI REWRITE code needed for beginner

Posted on 2008-10-21
4
285 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 25

Accepted Solution

by:
James Rodgers earned 500 total points
ID: 22867278
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
ID: 22885330
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
ID: 22885469
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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: kevp75
Hey folks, 'bout time for me to come around with a little tip. Thanks to IIS 7.5 Extensions and Microsoft (well... really Windows 8, and IIS 8 I guess...), we can now prime our Application Pools, when IIS starts. Now, though it would be nice t…
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

696 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