Many thanks. I'm going to try it (and understand it). I can see the reason for the external redirects but do the internal rewrites work independently of the redirects? Preferably the file would be used by third parties and I'd like to avoid them having to edit the file for the domain. Do the external redirects really need the domain writing in?