I have install subdomain module and i configured according to readme file.
but when an i18n only work in defaut language. not support in like subdomain.domain.com/en
I have install subdomain module and i configured according to readme file.
but when an i18n only work in defaut language. not support in like subdomain.domain.com/en
Comments
Comment #1
honza pobořil commentedWe fix many things recently. Could you test it with 7.x-2.x-dev?
Comment #2
Sinan Erdem commentedLanguage negotiation still doesn't work for neither path prefix nor domain.
Comment #3
Sinan Erdem commentedComment #4
Sinan Erdem commentedI just commented out those lines(343 to 347) in subdomain.module and it works as expected now:
// Else, just handle the case where the incoming path is the same as the special homepage path
elseif ($sid && $path == subdomain()->get_homepage_path($sid)) {
$redirect = _subdomain_format_url(_subdomain_get_protocol(), $curr_subdomain, subdomain_get_domain(), '');
header("Location: " . $redirect, TRUE, 301);
}
I use 7.x-beta3
I didnt find any problems since. Does anybody know why do those lines exist?