be warned that mod_rewrite may send you prematurely bald.
Having said that I finally figured out a way to do this, you basically are putting all the variables in the URL then restructuring with mod_rewrite.
Code:
## htaccess
RewriteRule ^browse/([^/]+)/?$ /browse.php?id=$1 [L]
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /browse\.php\?id=([^&]+)\ HTTP/
RewriteRule ^browse\.php$ http://www.thomasmultimedia.com.au/browse/%1? [R=301,L]
Now I cannot fully explain to you how this works, all I know is that it does work!
So your browse page is setup to work when requested as such "browse.php?id=catname".
Your links point to /browse/catname and the rest is history.
It is important to remember that whatever GET variables you use to retrieve data still need to be present in the rewritten URL. Was that comment overkill? All I know is that it took me a while to comprehend this.
Bookmarks