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 […]

Read More…

Redirect a folder to another

To redirect a folder to another using .htaccess, create

Or

Or

if new folder is on another domain, you can use https://new-domain.com/OLD_FOLDER See Redirect […]

Read More…