Can't redirect off domain?

Phoca SEF - redirect extension for Joomla! CMS
TheWraith
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 18 Mar 2010, 22:25

Can't redirect off domain?

Post 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.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47794
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Can't redirect off domain?

Post 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
If you find Phoca extensions useful, please support the project
TheWraith
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 18 Mar 2010, 22:25

Re: Can't redirect off domain?

Post 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.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47794
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Can't redirect off domain?

Post by Jan »

Hi, then will be great if you can paste a code (you have improved) here.

Thank you, Jan
If you find Phoca extensions useful, please support the project
Post Reply