# Subfolders - after impersonating redirected to the wrong URL

**URL:** https://meta.discourse.org/t/subfolders-after-impersonating-redirected-to-the-wrong-url/34422
**Category:** Bug
**Tags:** impersonate
**Created:** [10월 12, 2015, 6:42오후 UTC](https://meta.discourse.org/t/subfolders-after-impersonating-redirected-to-the-wrong-url/34422 "2015-10-12T18:42:14Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![wglass](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/wglass/32/116728_2.png) [@wglass](https://meta.discourse.org/u/wglass)
#### Post date: [10월 12, 2015, 6:42오후 UTC](https://meta.discourse.org/t/subfolders-after-impersonating-redirected-to-the-wrong-url/34422/1 "2015-10-12T18:42:14Z")

</div>

I have my site set up with subfolders.

When (as an admin) I impersonate a user, it redirects to the root level of the domain. It should redirect to the subfolder instead.

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [10월 12, 2015, 7:15오후 UTC](https://meta.discourse.org/t/subfolders-after-impersonating-redirected-to-the-wrong-url/34422/2 "2015-10-12T19:15:02Z")

</div>

[https://github.com/discourse/discourse/pull/3851](https://github.com/discourse/discourse/pull/3851)

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [6월 18, 2016, 6:31오전 UTC](https://meta.discourse.org/t/subfolders-after-impersonating-redirected-to-the-wrong-url/34422/3 "2016-06-18T06:31:09Z")

</div>


