i am new & looking for something to change the url's like

http://www.url.com/thispage.php?page=namepage

or

http://url.com/?page=namepage

any help

thanks