Uploaded image for project: 'Vanity URL app'
  1. Vanity URL app
  2. VANITY-19

Multiple domains

    XMLWordPrintable

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

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              frank.sommer Frank Sommer
              aspickard Adam Spickard
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Task DoD