permalink in wordpress

I am using the default option in permalink. I want to convert my blog URL as follow: http://domain.com/blog/catogary/postname.htm as google likes it. How can I do it? Thanks, Tim