Quote from: PMS at Aug 12, 2009, 07:57 AM
Just a note on monolingual documents and why I treat them as distinct from multilingual ones. Some people like myself use MODx to manage non-html resources, like CSS, javascript, RSS and XML files as well as HTML content. It is not always appropriate to tie them into a particular language or view them via a tabbed language interface. I wanted a way of treating them like normal MODx documents.
Hi,
I see. I also use MODx to manage css, javascript, rss, etc., so yes, I do see you point. Maybe you could base this on content type - then the issue would only extend beyond normal HTML to javascript documents, but it wouldn’t affect css, plain text and xml formats.
Quote from: PMS at Aug 12, 2009, 07:57 AM
I agree with you on several points.
1. YAMS isn’t very intuitive at the moment. Better documentation and simplified module interface could help here I think.
2. From the point of view of migrating an existing site it is better if existing URLs don’t have to change. It is possible to achieve that currently, but only if the server name for monolingual pages is different - which I admit is not very nice.
Yes, there is also the fact that we are introducing a huge duplicate content hole here.think about it on large sites, and then someone uses YAMS and doesn’t consider the / > /en/ issue - in that case, YAMS just duplicated his entire site in a new directory which is crawlable, and than can potentially have very negative consequences for site rankings. At least, with you current method, it would be an imporovment to be able to permanently redirect the mono to the new multi of the same language.
Quote from: PMS at Aug 12, 2009, 07:57 AM
So, I need to look at several things:
1. Is it really necessary to be able to identify whether a page is mono- or multi- lingual from the URL from a programmatic point of view? What problems would it cause if monolingual and default language versions of multilingual documents shared the same URL.
2. If it is necessary to identify monolingual documents via the URL, then would it be nicer if monolingual pages could be specified under a subdirectory, like mysite.com/mono?
I hope that the goal with be what you hint at in point one - to get rid of this distinction between the monolingual, and the multi-lingual of the same language - it is too messy for a tight solution (I don’t mean programmatically - I mean in terms of usability and potential crawling problems that can be introduced to the site).
If it has to be what you outline in point 2, there needs to be a way to 301 redirect one of the two lang versions (the mono and the same lang multi) to the other. The sub directory solution is only good if the user knows he has to exclude this new sub in robots.txt or some other solution.
Quote from: PMS at Aug 12, 2009, 07:57 AM
In the meantime, we should be able to get you up and running with some sort of working install - perhaps even with the default language installed at the root. Just need to figure out what’s causing those redirection problems.
Ok, thanks for your help. Let’s look at this now.
First, I am clearing cache (MODx and Browser) regularly.
Second, I found the main cause of my problems with YAMS not working at all - the plugin SEO Strict URLs. This is a very good plugin that I use regularly - it 100% prevent duplicate content issues in MODx. Grab the source here:
http://www.stanback.net/code/modx/seo-strict-urls.html
By disabling SEO Strict URLs and by making /en/ my root for multilingual English, I now have YAMS working!
This is great progress for me. Now to move on from there, there are two issues...
1. Can YAMS work with SEO Strict URLs in the future? (Only you can tell me that

.)
2. I need to try and get my multilingual English running in host root.
I’ll tell you that my ideal solution (once again, mostly based on my desires for SEO) would be to run each (non-dominant) language on its own subdomain, rather than sub-directory. So, in my specific case here, I’d like this:
English - www.domain.com
Russian - ru.domain.com
Spanish - es.domain.com
And based on your previous suggestion to me, I uess I’d then choose to put the monolingual on mono.domain.com (But from the way you wrote this I guess this is untested and might not work...)
Can I use YAMS with subdomains like this???
If not, I’ll try to acheive English at / and the others at /lang/. I’m going to go create some subdomains now and do some other things ... maybe I’ll hear back from you before I get to my testing of these scenarios, so I’ll check back...
Thanks for your help and for YAMS!