# How to put inclue file outside of htdocs?

**URL:** <https://forum.infinityfree.com/t/how-to-put-inclue-file-outside-of-htdocs/73041>\
**Category:** Hosting Support\
**Created:** [March 2, 2023, 6:50am UTC](https://forum.infinityfree.com/t/how-to-put-inclue-file-outside-of-htdocs/73041 "2023-03-02T06:50:45Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Oxy](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/oxy/32/37989_2.png) [@Oxy](https://forum.infinityfree.com/u/Oxy)\
**Post date:** [March 2, 2023, 10:59am UTC](https://forum.infinityfree.com/t/how-to-put-inclue-file-outside-of-htdocs/73041/4 "2023-03-02T10:59:47Z")

</div>

It’s possible - only that folder is inside htdocs

Read here the part that mentions includes

> [@Redirected to InfinityFree 403 Forbidden page](https://forum.infinityfree.com/t/58664):
>
> Getting a 403 error means the server is refusing to show your webpage. Here are the most common causes and how to fix them: 1. Website Files Are in the Wrong Location The Issue: Your domain might be pointing to an empty or non-existent folder. How to Check: Log into your [InfinityFree client area](https://dash.infinityfree.com) Go to Accounts → [Select your account] → Domains → [Find your domain] → Manage Find the Directory Status card, and look at the Directory displayed there Understanding the folder structure: Your fi…

---

_[View the full topic](https://forum.infinityfree.com/t/how-to-put-inclue-file-outside-of-htdocs/73041)._
