Change url when preview mode