# How to redirect a Web\_Viewer online to a stored html file?

**URL:** <https://community.thunkable.com/t/how-to-redirect-a-web-viewer-online-to-a-stored-html-file/618963>\
**Category:** Questions about Thunkable X\
**Tags:** beginner\
**Created:** [June 16, 2020, 2:55pm UTC](https://community.thunkable.com/t/how-to-redirect-a-web-viewer-online-to-a-stored-html-file/618963 "2020-06-16T14:55:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![leah.marie.glick599p](https://avatars.discourse-cdn.com/v4/letter/l/bc8723/32.png) [@leah.marie.glick599p](https://community.thunkable.com/u/leah.marie.glick599p)\
**Post date:** [June 16, 2020, 2:55pm UTC](https://community.thunkable.com/t/how-to-redirect-a-web-viewer-online-to-a-stored-html-file/618963/1 "2020-06-16T14:55:31Z")

</div>

Hello! What is the best way to arrange blocks for a web\_viewer so it checks for internet, if present go to the web, if not go to the stored html file?

Thank you!

---

<div class="post-metadata">

**Author:** ![ryan\_hall\_apps](https://avatars.discourse-cdn.com/v4/letter/r/f6c823/32.png) [@ryan\_hall\_apps](https://community.thunkable.com/u/ryan_hall_apps)\
**Post date:** [June 16, 2020, 7:49pm UTC](https://community.thunkable.com/t/how-to-redirect-a-web-viewer-online-to-a-stored-html-file/618963/2 "2020-06-16T19:49:50Z")

</div>

I have not built a function like this, but in the devices blocks there is “device online” function.

See the documentation [here](https://docs.thunkable.com/device#get-online-offline-status).

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 11:25am UTC](https://community.thunkable.com/t/how-to-redirect-a-web-viewer-online-to-a-stored-html-file/618963/3 "2024-11-08T11:25:43Z")

</div>


