Email link redirecting to mautic hosted URL

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.

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.

I found the solution from below post:-

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” because I have mautic in “mat” folder.in the home path