The title pretty much sums it up. Is there a limit or any kind of performance issue with doing what I'm doing below? Total number of rewrites when all said and done might be a couple hundred. Until I learn more about OOP, I'm using a simple page front controller to serve pages on a site I'm building.
This is not a eCommerce site, so there is no shopping cart or anything like that. So there won't be thousands of products. The product pages are simply feature listings of each product that belong to a product category. Each category might have four or five products and those products might have a dozen or so feature pages.
This is what my URLs look like behind the scenes.
/productCategory/index.php?page=product1
/productCategory/index.php?page=product2
/productCategory/index.php?page=product3
etc..
/productCategory/index.php?page=product1Feature1
/productCategory/index.php?page=product1Feature2
/productCategory/index.php?page=product1Feature3
etc..
This is what I'm using mod_rewrite to accomplish.
/productCategory/product1/
/productCategory/product2/
/productCategory/product3/
/productCategory/product1Feature1.html
/productCategory/product1Feature2.html
/productCategory/product1Feature3.html
I'm changing the product page to a directory and replacing the php with html.