Hi All,
I’m trying to create a specific subscribe flow for a membership site. This is my first time working with Routes/YAML and I feel like I’m missing something that will be obvious as soon as someone points it out.
I want to create a page called “subscribe” that presents the membership options. Here’s what I’ve done so far in the theme directory.
-
Created members/subscribe.hbs
-
Add “subscribe” to routes.yaml. This is the entirety of my routes file.
routes:
/signup/: members/signup
/signin/: members/signin
/account/: members/account
/subscribe/: members/subscribecollections:
/:
permalink: /{slug}/
template: indextaxonomies:
tag: /tag/{slug}/
author: /author/{slug}/
Every page works except subscribe. That 404s for me. If I use the code on the subscribe.hbs template on a different template, it works just fine. For example, I can add that code to signup and its golden. It is the example.com/subscribe that I can’t get to work. Any ideas? Are there protected terms maybe?