In a new project, a website has a set of static htm pages. The owner needs to convert them to dynamic ones.
Each page has: a text section, a small photo plus some links towards other pages, related to this one.
All these i can put in database and create a dynamic page (php).
My problem is that each static page is unique - no common pattern in url. And there 860 such pages at the moment.
So, i can have one url like:
folder1/folder2/item1.htm or
folder1/folder2/folder3/item2.htm or even
folder1/folder2/folder2-fodler3/item3.htm.
These 3 are the most common patterns so far (serving around 650 urls out of the 860).
Each folder name is actually a category/subcategory/keyword i can use to determine the properties of my item
As a general rule, the first 2 folders (folder1 and folder2) are the category and subcategory of the product, while the next folders (folder 3 and after that) determines the section (if any) of the item.
I hope this makes sense.
Is is possible to construct a rewrite rule to serve these pages out of single php file?