Supporting PRETTY_URLS also for categories.