# My app is deployed, but subpage can't be found

**URL:** <https://community.weweb.io/t/my-app-is-deployed-but-subpage-cant-be-found/6524>\
**Category:** Ask us anything\
**Tags:** bug\
**Created:** [January 22, 2024, 12:05am UTC](https://community.weweb.io/t/my-app-is-deployed-but-subpage-cant-be-found/6524 "2024-01-22T00:05:04Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![aldencarinahealth](https://avatars.discourse-cdn.com/v4/letter/a/958977/32.png) [@aldencarinahealth](https://community.weweb.io/u/aldencarinahealth)\
**Post date:** [January 22, 2024, 12:05am UTC](https://community.weweb.io/t/my-app-is-deployed-but-subpage-cant-be-found/6524/1 "2024-01-22T00:05:04Z")

</div>

Pretty basic app so far: 2 unauthenticated pages (Home, sign\_up), 1 authenticated page (member\_home). Post authentication through the website login (or post confirm email link rerouting to the member\_home), I get a “page not found” error. Can’t for the life of me figure out why. The 2 unathenticated pages behave fine.

---

<div class="post-metadata">

**Author:** ![Broberto](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/broberto/32/5918_2.png) [@Broberto](https://community.weweb.io/u/Broberto)\
**Post date:** [January 22, 2024, 8:21am UTC](https://community.weweb.io/t/my-app-is-deployed-but-subpage-cant-be-found/6524/2 "2024-01-22T08:21:44Z")

</div>

Check your auth setup, and where you redirect when the people are unauthenticated. It should be a public and existing page.

---

<div class="post-metadata">

**Author:** ![aldencarinahealth](https://avatars.discourse-cdn.com/v4/letter/a/958977/32.png) [@aldencarinahealth](https://community.weweb.io/u/aldencarinahealth)\
**Post date:** [January 22, 2024, 8:48am UTC](https://community.weweb.io/t/my-app-is-deployed-but-subpage-cant-be-found/6524/3 "2024-01-22T08:48:37Z")

</div>

The issue is after I successfully authenticate. I can tell I’m successfully auth’ed even on public pages (have the auth user email in the nav bar), but when I then navigate to the private page, it hits an error. Do I need to do something specific to deploy the auth pages? The redirection isn’t complicated, it’s just a button that takes the already authed user to the private page

---

<div class="post-metadata">

**Author:** ![Broberto](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/broberto/32/5918_2.png) [@Broberto](https://community.weweb.io/u/Broberto)\
**Post date:** [January 22, 2024, 9:27am UTC](https://community.weweb.io/t/my-app-is-deployed-but-subpage-cant-be-found/6524/4 "2024-01-22T09:27:04Z")

</div>

If you’re using Supabase, please check that you have everything set-up properly. I had the same issue where I was getting errors because of misconfiguration.

---

<div class="post-metadata">

**Author:** ![aldencarinahealth](https://avatars.discourse-cdn.com/v4/letter/a/958977/32.png) [@aldencarinahealth](https://community.weweb.io/u/aldencarinahealth)\
**Post date:** [January 22, 2024, 3:36pm UTC](https://community.weweb.io/t/my-app-is-deployed-but-subpage-cant-be-found/6524/5 "2024-01-22T15:36:49Z")

</div>

Do you know which doc you used to setup that private page authentication? Or what config I need to make in supabase?

---

<div class="post-metadata">

**Author:** ![aldencarinahealth](https://avatars.discourse-cdn.com/v4/letter/a/958977/32.png) [@aldencarinahealth](https://community.weweb.io/u/aldencarinahealth)\
**Post date:** [January 23, 2024, 4:22pm UTC](https://community.weweb.io/t/my-app-is-deployed-but-subpage-cant-be-found/6524/6 "2024-01-23T16:22:27Z")

</div>

I am unsure how to resolve this, and it’s currently blocking go-live… is there a weweb customer service / pay by the hour support line?

---

<div class="post-metadata">

**Author:** ![Broberto](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/broberto/32/5918_2.png) [@Broberto](https://community.weweb.io/u/Broberto)\
**Post date:** [January 23, 2024, 7:58pm UTC](https://community.weweb.io/t/my-app-is-deployed-but-subpage-cant-be-found/6524/7 "2024-01-23T19:58:50Z")

</div>

Hey, by setting up Supabase, I meant using the right credentials and especially setting up an existing and public redirection page. Please make sure this is all set up. Also make sure your apikeys and everything are right too 🙂

 ![Screenshot 2024-01-23 at 20.58.05](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/4/46ea73e293044a5ac3e14ae2f1b839faad7adf8f.png)

---

<div class="post-metadata">

**Author:** ![aldencarinahealth](https://avatars.discourse-cdn.com/v4/letter/a/958977/32.png) [@aldencarinahealth](https://community.weweb.io/u/aldencarinahealth)\
**Post date:** [January 24, 2024, 3:55am UTC](https://community.weweb.io/t/my-app-is-deployed-but-subpage-cant-be-found/6524/8 "2024-01-24T03:55:53Z")

</div>

yes that is all working as expected - I’m able to successfully log in, and the logged in user can access the home page, but when the logged in user navigates to a private page, it hits a “page not found”. In the editor I can access the private page and see the user is correctly authenticated

---

<div class="post-metadata">

**Author:** ![Broberto](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/broberto/32/5918_2.png) [@Broberto](https://community.weweb.io/u/Broberto)\
**Post date:** [January 24, 2024, 7:59am UTC](https://community.weweb.io/t/my-app-is-deployed-but-subpage-cant-be-found/6524/9 "2024-01-24T07:59:29Z")

</div>

I think you should open a ticket - [support.weweb.io](http://support.weweb.io). If you want, I could have a look on a call, you can book a slot in my profile, but I think it’s a bug at this point, so not sure about whether we can debug it on a call.

---

<div class="post-metadata">

**Author:** ![aldencarinahealth](https://avatars.discourse-cdn.com/v4/letter/a/958977/32.png) [@aldencarinahealth](https://community.weweb.io/u/aldencarinahealth)\
**Post date:** [January 24, 2024, 4:26pm UTC](https://community.weweb.io/t/my-app-is-deployed-but-subpage-cant-be-found/6524/10 "2024-01-24T16:26:56Z")

</div>

Ok sounds good!

---

<div class="post-metadata">

**Author:** ![aldencarinahealth](https://avatars.discourse-cdn.com/v4/letter/a/958977/32.png) [@aldencarinahealth](https://community.weweb.io/u/aldencarinahealth)\
**Post date:** [January 24, 2024, 7:10pm UTC](https://community.weweb.io/t/my-app-is-deployed-but-subpage-cant-be-found/6524/11 "2024-01-24T19:10:38Z")

</div>

ok got it resolved, it was a config issue that I couldnt find 🙂

---

<div class="post-metadata">

**Author:** ![Broberto](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/broberto/32/5918_2.png) [@Broberto](https://community.weweb.io/u/Broberto)\
**Post date:** [January 24, 2024, 10:21pm UTC](https://community.weweb.io/t/my-app-is-deployed-but-subpage-cant-be-found/6524/12 "2024-01-24T22:21:00Z")

</div>

Great news 🙂 Glad you solved it.
