little bit start to implement the funciton to generate url for design page