Farzan, I don't have a direct answer to your question, but I work a lot with a wiki application called PmWiki that does something very similar to what you are doing. Their instructions for using "clean urls" such as http://example.com/blog/2 (only in their syntax) can be seen here: http://www.pmwiki.org/wiki/Cookbook/CleanUrls I don't know if that will help at all, but I've used it successfully. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php