Hello,
I am trying to rewrite all my external links on my site into a new URL.
For example:
external link: http://www.example.com/home/news.php?id=31155
should be
http://www.example.com/bt2/wp-content/plugins/topbar-plugin/topbar.php?url=http%3A%2F%2Fwww.asianewsnet.net%2Fhome%2Fnews.php%3Fid%3D31155
All of the external links will have the format http://www.example.com/bt2/wp-content/plugins/topbar-plugin/topbar.php?url=examplexx
Note: I want to make an exception that www.cnn.com be excluded from a rewrite and redirect rule
Thanks,
Mike
[edited by: montreal06 at 11:00 am (utc) on May 25, 2012] [edited by: incrediBILL at 12:42 pm (utc) on May 25, 2012]
[edit reason] fixed URLS, use Example.com [/edit]