You simply block a folder that contains a redirect script with robots.txt