Rewrites URL with generated random numbers