Tried to fix redirect not appending proper links.