Main Content

Magnolia Community Forums: Get help with Magnolia: Vanity URL App implmentations


  • juanfhinojosa
    juanfhinojosa
    Full name: Juan Hinojosa
    Posts: 6
    Last post: Nov 4, 2016 4:09:48 PM
    Registered on: Jun 23, 2016
    Vanity URL App implmentations
    #1 by juanfhinojosa on Nov 4, 2016 3:27:02 PM

    The jar for the Vanity URL app v1.3.2 comes with two implementations: DefaultPublicUrlService and SimplePublicUrlService

    Both of these, when building a link use the defaultBaseUrl, then add the site path used when creating the url.

    In my instance i want to be able to build a url link with different domains (not just my default base url). Has anyone had any success doing this or any knowledge that could help me? Thanks!

  • juanfhinojosa
    juanfhinojosa
    Full name: Juan Hinojosa
    Posts: 6
    Last post: Nov 4, 2016 4:09:48 PM
    Registered on: Jun 23, 2016
    Re: Vanity URL App implmentations
    #2 by juanfhinojosa on Nov 4, 2016 4:09:48 PM

    Update:

    The SimplePublicUrlService implementation allows for custom prefixes per https://github.com/aperto/magnolia-vanity-url#magnolia-module-configuration Even after created a custom class and modifying the "targetServerPrefix" the url still builds with my DefaultBaseUrl. Anyone have this issue?

You don't have the permission to post on this thread

Sign in

To login on this forum, you can use your Magnolia Forge, Support or Partner account, or, below, your Google, Yahoo! or OpenID account. If you have trouble logging in, or any other sort of issue, please let us know in the Meta forum, on the user-list, or simply by email at forum-admin at magnolia-cms dot com.

* Required

... or sign in with:

  • icon http://{your-openid-url}
  • icon
  • icon https://me.yahoo.com/