Hi All,
I have recently been working on a couple of customized product display modules for a DNN 7.2 installation. It was originally decided that using Request Parameters to pass the Product ID/Product Type ID to the custom modules through the Url would be an acceptable solution when grabbing content from our database.
Recently, after an SEO consultation, this requirement has changed. We now want to add keywords relating to the product into the Url when the module page is accessed. We have been trying to figure out a solution to this problem since.
We have two modules on two pages, one is a page accessed when a product category is selected, while the other is a page accessed when a product is selected fro the product category page.
Our modules currently accept Urls in the form
www.oursite.com/ProductTypePage/ProductTypeID/1
www.oursite.com/ProductTypePage/ProductPage/ProductTypeID/1/ProductID/2
where our SEO guys are looking for something more like
www.oursite.com/Laptops
www.oursite.com/Laptops/AcerLaptop
I'm pretty sure that we could come to a compromise along the lines of
www.oursite.com/Laptops/AcerLaptop/ProductTypeID/1/ProductID/2
but I'm not entirely sure how to go about implementing this solution.
I know that we could create a page structure in DNN that would reflect the above URL structure and drop the module on each page (I.e. a Laptop page, a Desktop page, a keyboards page etc...) but unfortunately we have quite a lot of product types (not to mention products) so there would be a lot of manual labor in setting this up.
I've been looking at the iFinity Url Rewriter included in DNN 7. We could provide URL Rewriter Rules for each product type/product and redirect a single page holding our module, but this is a rather inflexible solution as a new rule would have to be added each time a Product Type or product is added to our database.
I suppose we could add rules problematically when creating products but this just feels a little off.
Does anyone have any suggestions for a solution? Am I going to have to implement a custom URL Rewriting Provider to get around this?
Any help or suggestions would be greatly appreciated.