refactoring the url of my post