Posts: 20
Threads: 2
Joined: Jan 2013
Hi all!
Is it possible to parse all external urls, e.g.
http://google.com/ and convert them to
/go/?to=http://google.com/ automatically?
Posts: 2,928
Threads: 195
Joined: Feb 2011
why do you want to do that and what should be the effect?
I have no idea, I do redirects normally in .htaccess files ;=)
Posts: 20
Threads: 2
Joined: Jan 2013
I want to redirect all external links in any way, by php script or by .htaccess, but firstly they should have a look like internal links, like http://mysite/go/http://google.com
Posts: 6,266
Threads: 181
Joined: Sep 2011
Yeah its possible. Use a content filter and a regex.
Posts: 20
Threads: 2
Joined: Jan 2013
(2013-02-05, 00:12:11)shawn_a Wrote: Yeah its possible. Use a content filter and a regex.
Thanks!