S3 static host redirect and strip slug <p>Is it possible to create a static website redirect rule that redirects <code>www.domain1.com/* --&gt; www.domain2.com</code> without maintaining the slug ?</p> <p>Something like this if wildcard was allowed:</p> <pre class="lang-xml prettyprint-override"><code>&lt;RoutingRules&gt; &lt;RoutingRule&gt; &lt;Condition&gt; &lt;KeyPrefixEquals&gt;*&lt;/KeyPrefixEquals&gt; &lt;/Condition&gt; &lt;Redirect&gt; &lt;HostName&gt;www.domain2.com&lt;/HostName&gt; &lt;ReplaceKeyPrefixWith&gt;/&lt;/ReplaceKeyPrefixWith&gt; &lt;/Redirect&gt; &lt;/RoutingRule&gt; &lt;/RoutingRules&gt; </code></pre>