Had a similar problem.
My solution was to hard code it like the suggestion above.
if ($_SERVER['SERVER_NAME']=='example.com' && $_SERVER['REQUEST_URI'] == '/blogPath/') {
$linkname = "Page Title";
$linkname_enc = rawurlencode( $linkname );
$linkurl = "http://example.com/blogPath/";
$linkurl_enc = rawurlencode( $linkurl );
} else {
$linkname = get_the_title($post->ID);
$linkname_enc = rawurlencode( $linkname );
$linkurl = get_permalink($post->ID);
$linkurl_enc = rawurlencode( $linkurl );
}