# HAPROXY redirect subfolder

**URL:** <https://discourse.haproxy.org/t/haproxy-redirect-subfolder/6590>\
**Category:** Help!\
**Created:** [May 25, 2021, 3:27pm UTC](https://discourse.haproxy.org/t/haproxy-redirect-subfolder/6590 "2021-05-25T15:27:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jean-marc.vuithier](https://avatars.discourse-cdn.com/v4/letter/j/d78d45/32.png) [@jean-marc.vuithier](https://discourse.haproxy.org/u/jean-marc.vuithier)\
**Post date:** [May 25, 2021, 3:27pm UTC](https://discourse.haproxy.org/t/haproxy-redirect-subfolder/6590/1 "2021-05-25T15:27:19Z")

</div>

Dear All,

I have my website like [https://myserver.mydomain.com](https://myserver.mydomain.com) when a user reach the root url, i want to be redirected to [https://myserver.mydomain.com/mysite](https://myserver.mydomain.com/mysite) each time i suggest i can do with redirect 301 but is not working ! someone are an idea ? all traffic are https and my haproxy resume 25 subdomain like [https://server1.mydomain.com](https://server1.mydomain.com) [https://server2.mydomain.com](https://server2.mydomain.com)

Helo are Welcome
