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.
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...
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?
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.
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.
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!
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...
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!
It works OOTB, but I haven't tested it yet with multiple websites based on a path instead of hostnames.
Well in my case it didn't work OOTB :) I tried setting hostnames, the result is described above.
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.
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.
Like I said:
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?
is working on a reply...
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.