Fix error in post by id redirect url