# 404 page not found error

**URL:** <https://community.hubspot.com/t/404-page-not-found-error/103921>\
**Category:** Blog, Website & Page Publishing\
**Tags:** website-pages\
**Created:** [April 2, 2024, 3:58pm UTC](https://community.hubspot.com/t/404-page-not-found-error/103921 "2024-04-02T15:58:44Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![MSjoberg](https://avatars.discourse-cdn.com/v4/letter/m/2bfe46/32.png) [@MSjoberg](https://community.hubspot.com/u/MSjoberg)\
**Post date:** [April 2, 2024, 3:58pm UTC](https://community.hubspot.com/t/404-page-not-found-error/103921/1 "2024-04-02T15:58:44Z")

</div>

i “get 404 Page not found” for our web pages [https://aileo.ai](https://aileo.ai/) that are published in hubspot.

i have updated robot.txt to include HubSpotContentSearchBot and removed disallow line.

what can i do?

---

<div class="post-metadata">

**Author:** ![franksteiner79](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/franksteiner79/32/34443_2.png) [@franksteiner79](https://community.hubspot.com/u/franksteiner79)\
**Post date:** [April 2, 2024, 4:02pm UTC](https://community.hubspot.com/t/404-page-not-found-error/103921/2 "2024-04-02T16:02:19Z")

</div>

Hi @MSjoberg

I would recommend checking you DNS settings, ideally speak with HubSpot support if you have a starter or above subscription.

Frank

---

<div class="post-metadata">

**Author:** ![MSjoberg](https://avatars.discourse-cdn.com/v4/letter/m/2bfe46/32.png) [@MSjoberg](https://community.hubspot.com/u/MSjoberg)\
**Post date:** [April 2, 2024, 4:22pm UTC](https://community.hubspot.com/t/404-page-not-found-error/103921/3 "2024-04-02T16:22:54Z")

</div>

Hi Frank,  
we cheked DNS settings and i believe they are right, since pages with url like [About Aileo](https://aileo.ai/about-aileo) do work. only the root domain aileo.ai replies an error.  
For this reason i modified robot.txt according to hubspot instructions. but it does not help.

---

<div class="post-metadata">

**Author:** ![Ben\_M](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/ben_m/32/2679_2.png) [@Ben\_M](https://community.hubspot.com/u/Ben_M)\
**Post date:** [April 2, 2024, 4:33pm UTC](https://community.hubspot.com/t/404-page-not-found-error/103921/4 "2024-04-02T16:33:25Z")

</div>

For your home page it should have no slug. When I look in your footer your home link goes to a page called “[https://aileo.ai/aileo-home](https://aileo.ai/aileo-home)” which is not the same as “/”. If you remove the “aileo-home” slug from that page it should load as your homepage.

---

<div class="post-metadata">

**Author:** ![MSjoberg](https://avatars.discourse-cdn.com/v4/letter/m/2bfe46/32.png) [@MSjoberg](https://community.hubspot.com/u/MSjoberg)\
**Post date:** [April 2, 2024, 5:12pm UTC](https://community.hubspot.com/t/404-page-not-found-error/103921/5 "2024-04-02T17:12:50Z")

</div>

thanks Ben for your answer.  
yes, like in (temporarily) footer page aileo "[https://aileo.ai/aileo-home"](https://aileo.ai/aileo-home%22) works correctly but "aileo.ai " or "aileo.ai/ " replies 404 page error.  
so how can i change that?

---

<div class="post-metadata">

**Author:** ![Ben\_M](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/ben_m/32/2679_2.png) [@Ben\_M](https://community.hubspot.com/u/Ben_M)\
**Post date:** [April 2, 2024, 5:15pm UTC](https://community.hubspot.com/t/404-page-not-found-error/103921/6 "2024-04-02T17:15:57Z")

</div>

> * * *
> 
> @MSjoberg wrote:
> 
> thanks Ben for your answer.  
> yes, like in (temporarily) footer page aileo "[https://aileo.ai/aileo-home"](https://aileo.ai/aileo-home%22) works correctly but "aileo.ai " or "aileo.ai/ " replies 404 page error.  
> so how can i change that?
> 
> * * *

In Hubspot, your homepage will have no slug, meaning no name. So if you want aileo-home to be your homepage, remove the name “aileo-home”. Homepages in Hubspot are always blank for their slug and cannot be modified to point to any page, for instance there is no “check this box to make this page your home/index”.

---

<div class="post-metadata">

**Author:** ![MSjoberg](https://avatars.discourse-cdn.com/v4/letter/m/2bfe46/32.png) [@MSjoberg](https://community.hubspot.com/u/MSjoberg)\
**Post date:** [April 3, 2024, 5:08pm UTC](https://community.hubspot.com/t/404-page-not-found-error/103921/7 "2024-04-03T17:08:58Z")

</div>

thanks Ben!  
i am proceeding! now i got "aileo.ai/en/ " visible as home page, but cannot remove slug /en. it is said that " language slug is automatically set by the pages language. So “aileo.ai” still produces 404 page error.  
should remove the language set to english?

---

<div class="post-metadata">

**Author:** ![MSjoberg](https://avatars.discourse-cdn.com/v4/letter/m/2bfe46/32.png) [@MSjoberg](https://community.hubspot.com/u/MSjoberg)\
**Post date:** [April 3, 2024, 5:20pm UTC](https://community.hubspot.com/t/404-page-not-found-error/103921/8 "2024-04-03T17:20:53Z")

</div>

i noticed that i could not remove the language slug, until i cloned the page and the removed language slug form the cloned page. i think there is bug in editing /publishing the homepage without slug, because the language slug could not be removed.  
But thanks Ben, you helped me to solve the problem.

---

<div class="post-metadata">

**Author:** ![franksteiner79](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/franksteiner79/32/34443_2.png) [@franksteiner79](https://community.hubspot.com/u/franksteiner79)\
**Post date:** [April 2, 2024, 4:50pm UTC](https://community.hubspot.com/t/404-page-not-found-error/103921/9 "2024-04-02T16:50:48Z")

</div>

+1 on [@Ben\_M](https://community.hubspot.com/t5/user/viewprofilepage/user-id/87451)’s point.

If you don’t have a homepage, that will explain the 404 error - because there is nothing to show there…
