# Website displaying 403 instead of my web page

**URL:** <https://forum.infinityfree.com/t/website-displaying-403-instead-of-my-web-page/63873>\
**Category:** Hosting Support\
**Created:** [July 14, 2022, 5:49am UTC](https://forum.infinityfree.com/t/website-displaying-403-instead-of-my-web-page/63873 "2022-07-14T05:49:58Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon50507328](https://forum.infinityfree.com/letter_avatar/anon50507328/32/6_449c533f586939b6e5f246632a46421f.png) [@anon50507328](https://forum.infinityfree.com/u/anon50507328)\
**Post date:** [July 14, 2022, 5:49am UTC](https://forum.infinityfree.com/t/website-displaying-403-instead-of-my-web-page/63873/1 "2022-07-14T05:49:58Z")

</div>

Please, why is my website displaying 403 Forbidden whenever I want to access another web page?

---

<div class="post-metadata">

**Author:** ![KangJL](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/kangjl/32/12130_2.png) [@KangJL](https://forum.infinityfree.com/u/KangJL)\
**Post date:** [July 14, 2022, 6:06am UTC](https://forum.infinityfree.com/t/website-displaying-403-instead-of-my-web-page/63873/2 "2022-07-14T06:06:29Z")

</div>

Please read here

> [@Redirected to InfinityFree 403 Forbidden page](https://forum.infinityfree.com/t/redirected-to-infinityfree-403-forbidden-page/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…

---

<div class="post-metadata">

**Author:** ![anon50507328](https://forum.infinityfree.com/letter_avatar/anon50507328/32/6_449c533f586939b6e5f246632a46421f.png) [@anon50507328](https://forum.infinityfree.com/u/anon50507328)\
**Post date:** [July 14, 2022, 6:10am UTC](https://forum.infinityfree.com/t/website-displaying-403-instead-of-my-web-page/63873/3 "2022-07-14T06:10:25Z")

</div>

I actually create a page named task.php

---

<div class="post-metadata">

**Author:** ![KangJL](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/kangjl/32/12130_2.png) [@KangJL](https://forum.infinityfree.com/u/KangJL)\
**Post date:** [July 14, 2022, 6:23am UTC](https://forum.infinityfree.com/t/website-displaying-403-instead-of-my-web-page/63873/4 "2022-07-14T06:23:10Z")

</div>

Fill up according to the template.  
Provide url for a start

---

<div class="post-metadata">

**Author:** ![anon50507328](https://forum.infinityfree.com/letter_avatar/anon50507328/32/6_449c533f586939b6e5f246632a46421f.png) [@anon50507328](https://forum.infinityfree.com/u/anon50507328)\
**Post date:** [July 14, 2022, 6:29am UTC](https://forum.infinityfree.com/t/website-displaying-403-instead-of-my-web-page/63873/5 "2022-07-14T06:29:13Z")

</div>

[this is the url](https://een.42web.io/includes/task.php)

---

<div class="post-metadata">

**Author:** ![KangJL](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/kangjl/32/12130_2.png) [@KangJL](https://forum.infinityfree.com/u/KangJL)\
**Post date:** [July 14, 2022, 6:40am UTC](https://forum.infinityfree.com/t/website-displaying-403-instead-of-my-web-page/63873/6 "2022-07-14T06:40:59Z")

</div>

Read again

> [@Redirected to InfinityFree 403 Forbidden page](https://forum.infinityfree.com/t/redirected-to-infinityfree-403-forbidden-page/58664/1):
>
> The fix for this is simple: do not use the folder name `includes` for anything that’s supposed to be accessed by browser. Instead, put such pages in a folder `pages`, `functions`, `actions` or a folder with any other name.

---

<div class="post-metadata">

**Author:** ![anon50507328](https://forum.infinityfree.com/letter_avatar/anon50507328/32/6_449c533f586939b6e5f246632a46421f.png) [@anon50507328](https://forum.infinityfree.com/u/anon50507328)\
**Post date:** [July 14, 2022, 7:05am UTC](https://forum.infinityfree.com/t/website-displaying-403-instead-of-my-web-page/63873/7 "2022-07-14T07:05:36Z")

</div>

Thanks so much 👏

---

<div class="post-metadata">

**Author:** ![system](https://infinityfree-forum-uploads.s3.dualstack.eu-central-1.amazonaws.com/original/3X/b/0/b024fd3fa88bae093c9576e55c2c94e33f890206.svg) [@system](https://forum.infinityfree.com/u/system)\
**Post date:** [July 21, 2022, 7:06am UTC](https://forum.infinityfree.com/t/website-displaying-403-instead-of-my-web-page/63873/8 "2022-07-21T07:06:26Z")

</div>

Closed on July 21, 2022, 7:06am UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
