# Subdomain vs Folder?

**URL:** <https://forum.mautic.org/t/subdomain-vs-folder/7683>\
**Category:** Product Support\
**Created:** [February 24, 2017, 10:04pm UTC](https://forum.mautic.org/t/subdomain-vs-folder/7683 "2017-02-24T22:04:13Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Dez](https://avatars.discourse-cdn.com/v4/letter/d/ac8455/32.png) [@Dez](https://forum.mautic.org/u/Dez)\
**Post date:** [February 24, 2017, 10:04pm UTC](https://forum.mautic.org/t/subdomain-vs-folder/7683/2 "2017-02-24T22:04:13Z")

</div>

I’ve installed mautic in a sub-folder called “/mautic” and discovered that all the links in my emails are not redirecting. They have the URL:

e.g.

[site.com/r/dfvanojkefawe89fg394hfnrf](http://site.com/r/dfvanojkefawe89fg394hfnrf) - which goes to a 404 (the long string of character I just made up to give an example URL)

When I amend the URL to [site.com/](http://site.com/)mautic/r/dfvanojkefawe89fg394hfnrf - which goes to a 404 it redirect fine.

Is there a way to fix this in Mautic? I did make a mistake when installing by putting Site URL as

[site.com/mautic](http://site.com/mautic)

and changed it to just:

[site.com](http://site.com)

Could that be the issue?  
I also read on another post about “rewrite rules” but have no idea what these are?

I don’t get this issue on another set up which is on it’s own sub-domain, but really don’t want to move the installation to its own sub-domain to get this to work.

Any suggestions to fix?

---

_[View the full topic](https://forum.mautic.org/t/subdomain-vs-folder/7683)._
