I have been trying to do the following method to create urls like:
domain.com/portfolio/This_is_a_test_post
function view ( $title ) {
you can use this lib support to convert urls without more efforts
http://someguyjeremy.com/blog/slugs-ugly-bugs-pretty-urls