Hello,
I implemented the idea I had as follows:
1) Changed the .htaccess file by adding the following
section just above the "The Frieldnly URLs part"
RewriteRule ^product/(.*)/(.*)/(.*)/(.*)/(.*)/(.*).html product.html?p=$0 [L,QSA]
RewriteRule ^product/(.*)/(.*)/(.*)/(.*)/(.*).html product.html?p=$0 [L,QSA]
RewriteRule ^product/(.*)/(.*)/(.*)/(.*).html product.html?p=$0 [L,QSA]
RewriteRule ^product/(.*)/(.*)/(.*).html product.html?p=$0 [L,QSA]
RewriteRule ^product/(.*)/(.*).html product.html?p=$0 [L,QSA]
RewriteRule ^product/(.*).html product.html?p=$0 [L,QSA]
(There’s probably a better .htaccess construction, but this works and
is understandable)
2) Created a page called ’product’ with a "Document’s Alias" set to "product".
(This results in a product.html)
3) In that page called a snippet.
Snippet contents:
print $_SERVER["REQUEST_URI"];
// And other $_SERVER vars
When I go to my site with the url
www.mysite.nl/product/lawnmower/yamaha/XV13/mowing-your-lawn.html
it goes to the product document and I see the full URL
in some of the $_SERVER vars. With that info I can go to the database
and ’do my thing’.