Redirect a site to www using PHP

To redirect a site to url with www using PHP, you can use following PHP code

Add this code in your index.php file or another file included by index.php

See Redirect

Leave a Reply

Your email address will not be published. Required fields are marked *