Use URL prefix on links

Fixes #1350.