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:

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.