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

**URL:** <https://discourse.getcockpit.com/t/make-collection-entry-load-as-blog-post-web-page-using-the-title/1669>\
**Category:** Uncategorized\
**Created:** [October 6, 2020, 11:36pm UTC](https://discourse.getcockpit.com/t/make-collection-entry-load-as-blog-post-web-page-using-the-title/1669 "2020-10-06T23:36:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![oboogy](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.getcockpit.com/oboogy/32/680_2.png) [@oboogy](https://discourse.getcockpit.com/u/oboogy)\
**Post date:** [October 6, 2020, 11:36pm UTC](https://discourse.getcockpit.com/t/make-collection-entry-load-as-blog-post-web-page-using-the-title/1669/1 "2020-10-06T23:36:21Z")

</div>

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

[domain.com/Post\_1](http://domain.com/Post_1)  
[domain.com/Post\_2](http://domain.com/Post_2)

---

<div class="post-metadata">

**Author:** ![oboogy](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.getcockpit.com/oboogy/32/680_2.png) [@oboogy](https://discourse.getcockpit.com/u/oboogy)\
**Post date:** [October 7, 2020, 4:28am UTC](https://discourse.getcockpit.com/t/make-collection-entry-load-as-blog-post-web-page-using-the-title/1669/2 "2020-10-07T04:28:11Z")

</div>

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.
