I am a web developer and I want to create clones of the sites I've developed for clients, so that I have an "original copy" on a subdomain of my own website, so that I can showcase my work to new clients.
What is the best way to not get my clients original websites penalised for duplicate content?
I am planning to have a robots.txt file that disallows all robots, as well as using
<link href="http://www.client-canonical-site.com/" rel="canonical" />
<head> of the pages.
Is that sufficient? Should I use rel=nofollow on all the links as well?