Added helper method for fixing post url