Filter home and site URLs when on mapped domains

Fixes #27.

Bonus benefit: takes care of canonical redirection.