Relative URL adjustment - thanks to @DanielCik and @sonuyos