Hi
I know this has been discussed and I have read a lot of articles about it, but I am still a bit confused by how this will work for a truly dynamic site...
I am building a site that will have a huge number of items that will be broken down in 3 categories. Ideally I want my urls to reflect the actual name of the item as well as the category, so there will be thousands of possibilities when trying to rewrite the url.
I looked into Wordpress and the code that goes into their .htaccess file and it might be a start for what I am trying to do, but I am still not sure. Here is what they have:
BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
END WordPress
So I was wondering how I can customize this to allow for a three level url (if that is how to describe it... )
For example, the url that needs to be rewritten might be this:
page.php?category=bicycles&type=Mountain&brand=Fuji
And I would want it to be this:
/bicycles/Mountain/Fuji
But it could also be:
/bicycles/Road/Trek
or
/sunglasses/Sport/Bolle
etc...
So I am really trying to deal with a ton of possibilities and use just one template...
Any suggestions? Maybe a tip or point me to a clear, concise article that is easy to follow along for a newbie?!?
Thanks!