Details
-
Improvement
-
Resolution: Not an issue
-
Neutral
-
None
-
1.3.2
-
None
-
Linux
Description
Hello,
We are currently running Magnolia EE v5.3.7 with Vanity Url module v1.3.2 . In our web server we have multiple sites that are associated with multiple domains. We use Apache rewrites to point requests to our multiple sites. With the Vanity app if we create a Vanity url and a request is received from that vanity url we are limited to our defaultBaseUrl as the URL prefix when the URL is constructed (i came upon this in the DomainNamePathTransformer class). We want to be able to construct the URL with the domain the target site is associated to.
Ex.
defaultBaseUrl: www.company.com
Vanity url: /join
Target: /sitename/dir/join-us.html
Vanity url: /services
Target: /othersitename/dir/services.html
Instead when a request is received for
www.othercompany.com/services
the URL changes to
www.company.com/othersitename/dir/services.html
Thanks