Page 1 of 1

subdomains and redirect with Phoca SEF

Posted: 18 Oct 2010, 14:16
by maxclee
Hi,

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/ :x

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: :idea:

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.

Re: subdomains and redirect with Phoca SEF

Posted: 27 Oct 2010, 22:32
by Jan
Hi, sorry I don't know what needs to be changed there as I don't know such behaviour. Phoca SEF redirects the site given as obsolete to new site given as new. I am checking it and there is no way to add two domain names into one url. Did you try it without the hack, is there the same behaviour? :idea:

Re: subdomains and redirect with Phoca SEF

Posted: 02 Nov 2010, 16:43
by maxclee
Thank you very much for the reply.

Unfortunately the component without hack does not work.

the new site starts by extension eg http://de.
in form which the component is written, understands that he works alone with a 1 domain.

please is it very important for me, to solve this problem.

thx

Re: subdomains and redirect with Phoca SEF

Posted: 06 Nov 2010, 21:25
by Jan
Hi, yes in neccessary to edit the basic joomla file.

Jan

Re: subdomains and redirect with Phoca SEF

Posted: 20 Jun 2011, 17:43
by maxclee
Wonderful, more precisely is posible ? :wink:
Please :!: and Thanks

Re: subdomains and redirect with Phoca SEF

Posted: 29 Jun 2011, 14:20
by Jan

Re: subdomains and redirect with Phoca SEF

Posted: 01 Jul 2011, 08:43
by maxclee
I realized that I haven't gave important details

I am using Joomfish plugin with jfrouter,

Obviously your component works correctly until they are no more than one language.


But what happens when we use more like one language?

Path of the document begins with a domain name http://www.domain.com,

what I can do that path began starting with the http://


I understand that you are quite busy but please help me in this issue

Thanks for all

Re: subdomains and redirect with Phoca SEF

Posted: 05 Jul 2011, 16:56
by Jan
Hi, the problem is I don't have any experiences with such using.

The Phoca SEF is working this way:

if there is some wrong link (which ends with 404) there is option to redirect to new site (but no experiences with the subdomains :-( )

Jan