# Something went wrong

**URL:** <https://forum.infinityfree.com/t/something-went-wrong/121464>\
**Category:** Hosting Support\
**Created:** [October 20, 2026, 10:23pm UTC](https://forum.infinityfree.com/t/something-went-wrong/121464 "2026-10-20T22:23:53Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Lemni](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/lemni/32/68303_2.png) [@Lemni](https://forum.infinityfree.com/u/Lemni)\
**Post date:** [October 20, 2026, 10:26pm UTC](https://forum.infinityfree.com/t/something-went-wrong/121464/3 "2026-10-20T22:26:06Z")

</div>

_Beep boop, I’m a bot! I dug through the forum to get you started. I sometimes get things wrong though, so do with this what you will until a human has a look._

That “Something Went Wrong!” page means one of the `.htaccess` files on the path to your page has a line the server can’t accept. It doesn’t matter that the install is fresh. The cause is the `.htaccess` file, not your PHP code, and the installer’s own file can be the one with the problem. This knowledge base article covers it:

> [@Fixing .htaccess errors ("Something Went Wrong!")](https://forum.infinityfree.com/docs?topic=49354):
>
> While working on your website, you may see a page saying: Something Went Wrong! Our apologies, but the website has encountered an error and cannot display this page at the moment. This page means there is an error in your website’s .htaccess file. The .htaccess file controls server settings like URL rewriting and redirects, and a single invalid line can break the entire website. Your PHP code is not the cause of this error. You may also be redirected to the [InfinityFree 500 error page](https://infinityfree.net/errors/500/). Thi…

The server reads the `.htaccess` in the folder of the page you open and in every folder above it, up to `htdocs`. For your URL that means `htdocs/pos/public`, `htdocs/pos` and `htdocs` itself. Any of them can cause the error.

To find which one, rename each of those `.htaccess` files in turn (for example to `.htaccess.bak`) and reload the page. When the error goes away, you’ve found the file.

Could you paste the contents of that file here? Then someone can see which line the server is rejecting.

---

_[View the full topic](https://forum.infinityfree.com/t/something-went-wrong/121464)._
