EDIT: this is actually a question about how to get friendly urls to work with containers that have a redirect snippet pointing to the home language pages.
was looking at how to do a multilingual site and really most of it was unnecessary in my case, except for the redirect snippet suggested:
<?php
$url = $modx->makeUrl($id);
ob_end_clean(); // this will end the output buffer and discard silently what ever was in it
header('Location: '.$url);
?>
and then paste this in the parent page
[[Redirect?id=`1`]] (id pointing to the start page of a new language)
I know the problem is id 1 not being found because friendly urls wants to use the alias, but changing id to alias doesn’t work either, i’ve found a couple threads but dealing with 301 redirects, any suggestions?
do I use documentIdentifier; instead of $id?