Fix for post url - redirected to site instead of post