<p>It sounds like a routing issue, the route should look like:</p>

<pre><code>'user/*' =&gt;  ['template' =&gt; 'user/_user']
</code></pre>

CC BY-SA 4.0
2019-08-21T11:55:51.017Z
Thank you! That helped solve it!
revlis
CC BY-SA 4.0
2019-08-21T10:53:32.523Z
2019-08-21T11:02:19.903Z
2019-08-21T11:02:19.903Z
dmatthams
<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>

<templating>
User profile page
# 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 %}
Manage Account
{% 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!  

---

