# Virtual pages from static HTML files (or something like that)

**URL:** <https://forum.getkirby.com/t/virtual-pages-from-static-html-files-or-something-like-that/16215>\
**Category:** Questions\
**Tags:** v3\
**Created:** [November 7, 2019, 2:33pm UTC](https://forum.getkirby.com/t/virtual-pages-from-static-html-files-or-something-like-that/16215 "2019-11-07T14:33:12Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [November 7, 2019, 2:39pm UTC](https://forum.getkirby.com/t/virtual-pages-from-static-html-files-or-something-like-that/16215/2 "2019-11-07T14:39:31Z")

</div>

HTML files cannot be uploaded as files. What you could do is create a standard page folder for each of those pages, then in the text file for each page reference the name of the html file, then in the template, read those html files.

```auto
/content
  test/
  test.txt

```

Test.txt

```auto
Title: Test

----
Htmlfile: test.html

```

`/site/templates/test.php`

```auto
<?php 
echo F::read($kirby->root('index'). '/'. $page->htmlfile()); //or wherever you want to put those files

```

---

_[View the full topic](https://forum.getkirby.com/t/virtual-pages-from-static-html-files-or-something-like-that/16215)._
