Use relative urls for links

I'm not sure if there is a reason that we need this.  Since there was an 'if' statement in there I'm wondering if I'm missing something.  However, making this change helps local development quite a bit since you don't get constantly redirected to the main site.