<p>It looks like the config setting <a href="http://buildwithcraft.com/docs/config-settings#users" rel="nofollow">activateAccountFailurePath</a> is what you are looking for.</p>

CC BY-SA 3.0
2015-11-09T20:22:46.577Z
2015-11-09T20:22:46.577Z
kcolls
<p>When a user visits on an old or expired email activation link, how do we control which page is loaded? In my case it's rendering a template named error.twig, but I'm not sure how that's set or where to change it. </p>

<emails><redirect><activation>
Controlling where user is sent if clicking old or expired email activation link
# Controlling where user is sent if clicking old or expired email activation link

(Asked by: username_0 on 2015-11-09)

When a user visits on an old or expired email activation link, how do we control which page is loaded? In my case it's rendering a template named error.twig, but I'm not sure how that's set or where to change it.

**Tags:** emails, redirect, activation


---

## 1 answers

### Answer by username_1 on 2015-11-09. Score: 4 | Accepted answer

It looks like the config setting [activateAccountFailurePath](http://buildwithcraft.com/docs/config-settings#users) is what you are looking for.


---

