Convert URLs to another in PHP : <p>How I can convert URL to another use PHP
exemple</p>

<pre><code>domain.com to domain2.com
</code></pre>

<p>and</p>

<pre><code>domain.com/content to cdn.domain2.com
</code></pre>
