I have a website with different languages.

With joomfish router we can create subdomains like de.mydomain.com or es.mydomain.com -
exelent but when
we run Phoca SEF we have a problem, in this case cannot work good because make register of links after
http://mydomain.com/

i find this solution http://www.tinkeltools.com/joomla-integ ... links.html

Code: Select all
$path = rtrim($_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'], '/');
after change code, component starting do register of links http://
but now coming another problem --- Phoca SEF make redirection like:

de.mydomain.com/de.mydomain.com/......link.html
please say me what I must to change in code, for have Phoca SEF working good in this case.

Jan thank you for your exelent work.