Quality HostingWhat are Dedicated Servers?The Free-of-Cost Domain Name Manager SolutionDomains ExplainedWeb Hosting Packages for Your Domain NamesHow Does cPanel Hosting Function?Semi-dedicated Hosting RevealedHow Shared Hosting FunctionsSSL Certificates ExplanationWhat are VPSs?Hosting Plans DescriptionHow Hosting Services FunctionHow Does Cloud Hosting Work?Free Reseller Web HostingCheap Web Hosting Services
PHP Header redirect
Redirecting traffic with PHP requires the use of the header() function. Add the lines of code to a newly created PHP file e.g. index.php. This index file can be placed in your root folder or any of your choice.<?php header("Location: https://www.redirect.to.this.specific.url.com/"); ? >
Basic
Unlimited storage
Unlimited bandwidth
1 website hosted
30-Day Free Trial
Unlimited bandwidth
1 website hosted
30-Day Free Trial
$6.25 / month
Advanced
Unlimited storage
Unlimited bandwidth
5 websites hosted
30-Day Free Trial
Unlimited bandwidth
5 websites hosted
30-Day Free Trial
$8.75 / month
If you are redirecting to a file the following can also be utilized.
<?php header("Location: newDirectory/PHPFile.php"); ? >
OR if it is to a HTML file
<?php header("Location: newDirectory/HTMLFile.html"); ?>