Answers.Body: <p>It sounds like a routing issue, the route should look like:</p>
  
  <pre><code>'user/*' =&gt;  ['template' =&gt; 'user/_user']
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-08-21T11:55:51.017Z
Answers.Text: Thank you! That helped solve it!
Answers.UserDisplayName: revlis
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-08-21T10:53:32.523Z
Answers.LastActivityDate: 2019-08-21T11:02:19.903Z
Answers.LastEditDate: 2019-08-21T11:02:19.903Z
Answers.UserDisplayName: dmatthams
Body: <p>I'm looking to setup a profile page, displaying a users details (address etc) and they're current membership status (which will be down the Stripe Payments plugin.)</p>
  
  <p>I'm having some trouble getting the routes / template to work properly. I have set a new route <code>user/*</code> -> <code>user/_user</code></p>
  
  <p>I have then created that template and set a 'Manage Account' link with</p>
  
  <pre><code>{% set users = craft.users %}
  {% for user in users %}
  &lt;a href="/user/{{ user.username }}"&gt;Manage Account&lt;/a&gt;
  {% endfor %}
  </code></pre>
  
  <p>However, I'm being told the template doesn't exist. I'm not sure at which part the template is not being found - is the route or the link incorrect?</p>
  
  <p>Appreciate anyone's help!</p>
  
Tags: <templating>
Title: User profile page
ThreadText: # User profile page
  
  (Asked by: username_0 on 2019-08-21)
  
  I'm looking to setup a profile page, displaying a users details (address etc) and they're current membership status (which will be down the Stripe Payments plugin.)
  
  I'm having some trouble getting the routes / template to work properly. I have set a new route `user/*` -> `user/_user`
  
  I have then created that template and set a 'Manage Account' link with
  
  ```
  {% set users = craft.users %}
  {% for user in users %}
  <a href="/user/{{ user.username }}">Manage Account</a>
  {% endfor %}
  
  ```
  
  However, I'm being told the template doesn't exist. I'm not sure at which part the template is not being found - is the route or the link incorrect?
  
  Appreciate anyone's help!
  
  **Tags:** templating
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2019-08-21. Score: 2 | Accepted answer
  
  It sounds like a routing issue, the route should look like:
  
  ```
  'user/*' =>  ['template' => 'user/_user']
  
  ```
  
  > **Comments:**
  > **username_0**: Thank you! That helped solve it!  
  
  ---
  
  