Solved

ISAPI REWRITE code needed for beginner

Posted on 2008-10-21
4
280 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
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Today I came across an interesting issue that had me pulling my hair out.  I was troubleshooting a new internal web site which uses integrated security instead of anonymous.  When browsing the site from my laptop, I was able to access it with no iss…
Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

919 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

21 Experts available now in Live!

Get 1:1 Help Now