# Email link redirecting to mautic hosted URL

**URL:** <https://forum.mautic.org/t/email-link-redirecting-to-mautic-hosted-url/8882>\
**Category:** Product Support\
**Created:** [July 5, 2017, 5:24am UTC](https://forum.mautic.org/t/email-link-redirecting-to-mautic-hosted-url/8882 "2017-07-05T05:24:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dharmesh\_Singh](https://avatars.discourse-cdn.com/v4/letter/d/45deac/32.png) [@Dharmesh\_Singh](https://forum.mautic.org/u/Dharmesh_Singh)\
**Post date:** [July 5, 2017, 5:24am UTC](https://forum.mautic.org/t/email-link-redirecting-to-mautic-hosted-url/8882/1 "2017-07-05T05:24:13Z")

</div>

Hi,  
  
  
  
I am sending mail by using queue mode.  
  
My email contains a link and when I send as example it works fine but via campaign it redirect to url started with the URL specified as “Site Url” on configuration or started with the domain where mautic is hosted.  
  
  
  
Please help me in resolving this.

---

<div class="post-metadata">

**Author:** ![Dharmesh\_Singh](https://avatars.discourse-cdn.com/v4/letter/d/45deac/32.png) [@Dharmesh\_Singh](https://forum.mautic.org/u/Dharmesh_Singh)\
**Post date:** [July 5, 2017, 5:24am UTC](https://forum.mautic.org/t/email-link-redirecting-to-mautic-hosted-url/8882/2 "2017-07-05T05:24:13Z")

</div>

Hi,

I am sending mail by using queue mode.  
My email contains a link and when I send as example it works fine but via campaign it redirect to url started with the URL specified as “Site Url” on configuration or started with the domain where mautic is hosted.

Please help me in resolving this.

---

<div class="post-metadata">

**Author:** ![Dharmesh\_Singh](https://avatars.discourse-cdn.com/v4/letter/d/45deac/32.png) [@Dharmesh\_Singh](https://forum.mautic.org/u/Dharmesh_Singh)\
**Post date:** [July 6, 2017, 6:10pm UTC](https://forum.mautic.org/t/email-link-redirecting-to-mautic-hosted-url/8882/3 "2017-07-06T18:10:50Z")

</div>

I found the solution from below post:-

[https://www.mautic.org/community/index.php/7030-subdomain-vs-folder/0#p20919](https://www.mautic.org/community/index.php/7030-subdomain-vs-folder/0#p20919)

All I had to do is  
Settings–\>Configuration–\>System Settings–\>Set “Site URL” exact where your mautic folder is.  
in My case Site URL should be “[https://mysite.com/mat](https://mysite.com/mat)” because I have mautic in “mat” folder.in the home path
