Page 1 of 1

Can't redirect off domain?

Posted: 30 Mar 2012, 18:59
by TheWraith
I noticed as I attempt to link an Obsolete URL of "badurl" to "http://google.com", the following redirect occurs:

http://<mydomain>/http://google.com

..and a 404 is to be had. Can't the "New Site" URL be some URL NOT part of your domain name? That's a serious issue for us given the multiple domain names we have.

Re: Can't redirect off domain?

Posted: 03 Apr 2012, 01:19
by Jan
Hi, Phoca SEF only works with one domain like one Joomla! site - it is Joomla! component ready for only one Joomla! instance.

To redirect sites between different domains, I think some specific code outside Joomla! needs to be created :-(

Jan

Re: Can't redirect off domain?

Posted: 03 Apr 2012, 01:46
by TheWraith
I'm sorry, but that isn't correct. You merely need to modify the Phoca code and replace the conditional statements that prepend the domain to the parsed URL. It's not a "Joomla Limitation", it's just short sighted coding. I've "fixed" this short sightedness in my site by actually allowing off-domain URLs.

Re: Can't redirect off domain?

Posted: 03 Apr 2012, 13:36
by Jan
Hi, then will be great if you can paste a code (you have improved) here.

Thank you, Jan