Twee domeinen, voorwaardelijke doorsturing

Could not the site map plugin serve as the raw data for the nginx 302 redirects?