add 301 status handle. modify base url specification.