Apache rewrite conditions to prevent duplicate content