#1866: support sankakucomplex source redirection

hopefully prevents error 1011 from cloudflare; takes into account different subdomains and the original, preview, and sample files