fix broken urls in posts