Fixed links by slicing off the api paths