revise URL for post