Redirect WordPress in Header

The redirection plugin built for WordPress is a fantastic means of organizing and managing redirects. I use it on this site and have organized my groups of redirects for updated posts, affiliate links, downloads, etc. However, I ran into a unique problem where I have a reverse proxy set up for a client where WordPress is running at a path… but not the root of the site. The primary site is running on IIS in

PHP: Using Is.gd API to Shorten URL

Just read an article on the benefits and pitfalls of shortening URLs over at SEOmoz. I utilize the Is.gd API to do this with the SMS WordPress Plugin that I wrote (currently testing and doing well!). function doCurlRequest($url, $variable, $value) { $api = $url.”?”.$variable.”=”.$value; $session = curl_init(); curl_setopt($session, CURLOPT_URL, $api); curl_setopt($session, CURLOPT_RETURNTRANSFER, 1); $data = curl_exec($session); curl_close($session); return $data; } function doShortenURL($longurl) { $url = “http://is.gd/api.php”; $variable = “longurl”; $shorturl = doCurlRequest($url, $variable, $longurl); return