Fix links so they work with base_url.