Currently I have a url like this
http://<client_name>.website.com/index.php?function_name&cat=32
I want to set things up so that our Marketing people can publish url's like
http://<client_name>.website.com/<parent_category>/<category>
The "cat=XX" will be generated of the last <category>
only. But marketing wants to use the parent category in their campaigns. Currently we pass all of URL's through index.php in the html root directory (this will become important later).
I've tried several solutions including:
mod_rewrite - the problem with this approach is that it becomes a huge .htaccess file since we need to write a rule for each category.
RewriteMap - this came pretty close since I could query the database to build map file for output. However, I've since learned we don't have access to httpd.conf.
index.php - I've tried running everything through our index.php file which works, but doesn't keep the URL in the browser friendly for SEO purposes.
I'm hoping somebody has another idea which might help, I'd really appreciate it. If you've got a reference to something on the web that would help that'd be great too.