Google .htaccess.
EDIT: .htacces use assumes you want to "spoof" the URL. You can take one thing and make it looks like something else, or hide it.
There is also another way around this, you can just create /m=forum & /forums.ws?311,318,144,65013342 directories in your domian.
Good luck.