Remove trailing slash part in post