Thread:Project:Support desk/Custom URL rewriting based on Namespace

Hi,

I'm trying to rewrite MediaWiki URLs based on the namespace of the page, but can't figure out the rules for it (mod_rewrite). Is it even technically possible? I feel like it should.

I'm trying to get, say, something in the "User:" namespace to be written as example.com/user/my_username Something in the main namespace to be rewritten as example.com/article/article_name And so on.

Thanks.