I’m working on (finally!) learning the whole mod_rewrite stuff, but there’s 1 thing I’ve run into and I can’t get my head around the solution.
If I have content, of a menu for that matter, containing ‘dirty’ urls (eg. index.php?cat=2&item=1), what’s the best/easiest/fastest way to convert them to clean urls (eg. www.domain.com/category/item) WITHIN the content? I don’t really feel like rewriting my entire code…
I know it can be done, Joomla does it for example. Haven’t found the actual script yet though…
Thanks guys!