Making links to localhost work