Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Bogdan 250 posts 427 karma points
    Sep 05, 2013 @ 16:05
    Bogdan
    0

    Problems in multi-language site

    Hello,

    I'm trying the URL Tracker in a multi language 6.1.3 site.

    The site has each language structure in a root node: /aa-BB, /cc-DD and in web.config umbracoHideTopLevelNodeFromPath is set to false.

    Each root node had its language set, and no domain, because it wasn't needed.

    Adding a URL Tracker entry was giving errors and the solution was to add domains: http://site.com/aa-bb, http://site.com/cc-dd. This fixed the URL Tracker errors, but the redirection doesn't work: the "Old Url" property of a URL Tracked entry is now composed of the domain, plus the URL of the page, and both already have the root node in the path, resulting in the Old Url to be http://site.com/aa-bb/aa-bb/some-page. (BTW, every time I edit then save a URL Tracker entry more is added to Old Url - for example if its value is aa-bb/page, after saving it without doing any changes its value will be aa-bb/aa-bb/page)

    Given this behavior, next I tried to set useDomainPrefixes to true in unbracoSettings.config. The result of this is that the URL Tracker entry looks good: Site: aa-BB, Old Url: aa-bb/some-page, New Url: aa-bb/other-page. But the redirection doesn't work, and another undesired side effect is that now all the internal links in the site are full paths.

    Any ideas?

    Thanks!

  • Stefan Kip 1606 posts 4098 karma points c-trib
    Sep 10, 2013 @ 10:06
    Stefan Kip
    0

    Hmm I haven't taken this situation into account when designing and developing the new UrlTracker.
    I will definitely look at this in the future, but I'm not sure yet when...

  • Bogdan 250 posts 427 karma points
    Sep 10, 2013 @ 10:13
    Bogdan
    0

    Hi kipusoep,

    Thanks for your reply. Do you have any suggestions on what I should change in the site? How should a multi-language site be set up so that URL Tracker works properly?

    Thanks!

  • Stefan Kip 1606 posts 4098 karma points c-trib
    Sep 10, 2013 @ 10:14
    Stefan Kip
    0

    It works OOTB, but I haven't tested it yet with multiple websites based on a path instead of hostnames.

  • Bogdan 250 posts 427 karma points
    Sep 10, 2013 @ 10:19
    Bogdan
    0

    Well in my case it didn't work OOTB :) I tried setting hostnames, the result is described above.

  • Stefan Kip 1606 posts 4098 karma points c-trib
    Sep 10, 2013 @ 10:36
    Stefan Kip
    0

    Yes, you told me it doesn't work for you, I get it...
    If you don't have the patience or time to wait untill I'm able to look into this (because I've got other things on my hands too you know...), you're more than welcome to look into this yourself by downloading the source code.

  • Bogdan 250 posts 427 karma points
    Sep 10, 2013 @ 10:45
    Bogdan
    0

    I'm sorry, I think I didn't explain myself well enough. You say that it should work fine in a multi-language site, and I have a multi-language site. I'm not expecting you to modify the package to fit my situation, I'm just trying to identify what's different about my site and change that.

  • Stefan Kip 1606 posts 4098 karma points c-trib
    Sep 10, 2013 @ 10:46
    Stefan Kip
    0

    Like I said:

    I haven't tested it yet with multiple websites based on a path instead of hostnames

  • Bogdan 250 posts 427 karma points
    Sep 10, 2013 @ 10:48
    Bogdan
    0

    I'm really sorry but from that sentence I don't understand what to try to change in my site. Can you please tell me more?

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies