Use absolute path in navigation links so 404 page works