Make collection entry load as blog post web page using the title

If you create a collection of news posts, how can you make each entry load on its own page like:

domain.com/Post_1
domain.com/Post_2

I figured this out. With mod rewrite and htaccess you can point a url with a parameter to a php file and within the php file you can query the API collection for a specific field and check which matches the URL paranerer and then simply output the content.