** UPDATED BELOW **
Original Question: Anyone know how to create a function that changes the url of the_tags so that when one is clicked on, the function searches another domain?
** UPDATE **
IT WORKS! Thanks a million. What a star. :-)
ONE MORE Q: I have discovered that the search the link is being sent to is complicated. The search term below is "dish":
http://www.myweb.com/search?I_DSC=dish&I_DSC_AND=t&_ACT=search
So the $replace_with = 'http://www.myweb.com/';
needs to be replaced with:
http://www.myweb.com/search?I_DSC=
then the $link followed by
&I_DSC_AND=t&_ACT=search
the line:
http://www.myweb.com/search?I_DSC=$link&I_DSC_AND=t&_ACT=search
won't work. Is there some alternative?
Thanks again - it is really appreciated.