# 404 on members/signin

**URL:** <https://forum.ghost.org/t/404-on-members-signin/42633>\
**Category:** Developer help\
**Created:** [November 11, 2023, 10:43am UTC](https://forum.ghost.org/t/404-on-members-signin/42633 "2023-11-11T10:43:44Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![defiosolutions](https://avatars.discourse-cdn.com/v4/letter/d/df705f/32.png) [@defiosolutions](https://forum.ghost.org/u/defiosolutions)\
**Post date:** [November 11, 2023, 10:43am UTC](https://forum.ghost.org/t/404-on-members-signin/42633/1 "2023-11-11T10:43:44Z")

</div>

Hi,

I’m trying to configure custom members pages, like signin and signup pages.

I have created 2 pages as follows in theme folder:  
/members/signin.hbs  
/members/signup.hbs

Then in routes.yaml i have configured:  
routes:  
/signup/: members/signup  
/signin/: members/signin

When I try to access [mydomain.com/signin](http://mydomain.com/signin) page, I get 404 error.

Does someone have an idea where the mistake can be?

I tried also to configure routes.yaml like below:  
routes:  
/signup/: members\signup  
/signin/: members\signin

but I still receive 404 error when trying to access one of that page?

Shouldn’t the pages be created under folder members?

Thank you!

---

<div class="post-metadata">

**Author:** ![mjw](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/mjw/32/30781_2.png) [@mjw](https://forum.ghost.org/u/mjw)\
**Post date:** [November 11, 2023, 11:33am UTC](https://forum.ghost.org/t/404-on-members-signin/42633/2 "2023-11-11T11:33:22Z")

</div>

Your `routes.yaml` should have this format.

```auto
  /signup/: 
    template: members/signup

```

---

<div class="post-metadata">

**Author:** ![defiosolutions](https://avatars.discourse-cdn.com/v4/letter/d/df705f/32.png) [@defiosolutions](https://forum.ghost.org/u/defiosolutions)\
**Post date:** [November 11, 2023, 12:26pm UTC](https://forum.ghost.org/t/404-on-members-signin/42633/3 "2023-11-11T12:26:57Z")

</div>

I have updated routes.yaml as follows, but it still doesn’t work.  
routes:  
/signin/:  
template: members/signin

---

<div class="post-metadata">

**Author:** ![defiosolutions](https://avatars.discourse-cdn.com/v4/letter/d/df705f/32.png) [@defiosolutions](https://forum.ghost.org/u/defiosolutions)\
**Post date:** [November 11, 2023, 12:38pm UTC](https://forum.ghost.org/t/404-on-members-signin/42633/4 "2023-11-11T12:38:14Z")

</div>

This is how my members/signin.hbs looks like.

```auto
{{!< ../default}}

<h2>Bine ai venit din nou!</h2>
<p>Conectează-te din nou la contul tău</p>
{{#if @member}}

  {{!-- Logged in: Redirect home --}}
  <script>window.location = '{{@site.url}}';</script>

{{else}}

<form data-members-form="signin">
  <input data-members-email type="email" required="true" placeholder="E-mailul tău"/>
  <button type="submit"><span class="button-text">Continuă</span></button>
</form>

<small class="message-success">
  Un link de autentificare a fost trimis în inbox-ul tău. Dacă nu ajunge în 3 minute, asigură-te că verifici folderul de spam.
</small>

<small class="message-error">
  Introdu o adresă de email validă!
</small>

<small data-members-error></small>

<p><small>Nu ai cont? <a href="/hai-in-echipa-noastra/">Alătură-te proiectului</a></small></p>

{{/if}}

```

---

<div class="post-metadata">

**Author:** ![defiosolutions](https://avatars.discourse-cdn.com/v4/letter/d/df705f/32.png) [@defiosolutions](https://forum.ghost.org/u/defiosolutions)\
**Post date:** [November 11, 2023, 12:42pm UTC](https://forum.ghost.org/t/404-on-members-signin/42633/5 "2023-11-11T12:42:18Z")

</div>

I’m using cloud service from [ghost.io](http://ghost.io) for hosting my website.([Ghost(Pro) - Official managed hosting for Ghost](https://ghost.org/pricing/)) I’m uploading the changes via Design&Branding → Customize.

Can it be because that Ghost hosting is not uploading all the files properly? Hmmm…

---

<div class="post-metadata">

**Author:** ![defiosolutions](https://avatars.discourse-cdn.com/v4/letter/d/df705f/32.png) [@defiosolutions](https://forum.ghost.org/u/defiosolutions)\
**Post date:** [November 11, 2023, 12:46pm UTC](https://forum.ghost.org/t/404-on-members-signin/42633/6 "2023-11-11T12:46:21Z")

</div>

My mistake. Routes.yaml file has to be uploaded separetely to cloud service via Labs.

It works also with/without @mjw format.

Thank you, anyhow, for assistance!

it works also like:  
routes:  
/signup/: members/signup  
/signin/: members/signin

---

<div class="post-metadata">

**Author:** ![mjw](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/mjw/32/30781_2.png) [@mjw](https://forum.ghost.org/u/mjw)\
**Post date:** [November 11, 2023, 5:10pm UTC](https://forum.ghost.org/t/404-on-members-signin/42633/7 "2023-11-11T17:10:26Z")

</div>

The format you used is identical to what I provided; the line breaks aren’t necessary, but make for easier reading.

Incidently, if you’re a Ghost(Pro) customer, you may contact support directly using the email found in the footer of this webpage.

---

<div class="post-metadata">

**Author:** ![defiosolutions](https://avatars.discourse-cdn.com/v4/letter/d/df705f/32.png) [@defiosolutions](https://forum.ghost.org/u/defiosolutions)\
**Post date:** [November 11, 2023, 8:02pm UTC](https://forum.ghost.org/t/404-on-members-signin/42633/8 "2023-11-11T20:02:08Z")

</div>

Thanks for whole assistance!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/2X/b/ba9ce5100b8bb264586f4f572545596b2ce3f081.png) [@system](https://forum.ghost.org/u/system)\
**Post date:** [February 9, 2024, 8:02pm UTC](https://forum.ghost.org/t/404-on-members-signin/42633/9 "2024-02-09T20:02:33Z")

</div>

Closed on February 9, 2024, 8:02pm UTC

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