title: Redirecting conditionally on the bases of a specific directory used in URL
body: <p>How am I supposed to set up a  web page (HTML) that will redirect conditionally?
  That is, the user must be directed to <strong><em>domain2.com/xyz</em></strong> only if the user had initially gone to <strong><em>domain1.com/abc/xyz</em></strong> and NOT any other URL like <strong><em>domain1.com/pqr/xyz</em></strong> or <strong><em>domain1.com/xyz</em></strong></p>