PHP and HTML redirects
If you do not wish to use the .htaccess file to redirect your visitors, you can use another option - a PHP or an HTML file which will perform the actual redirection. Below are examples for both programming languages:
For PHP, create a file (index.php for example) and add the following lines in it:
header( 'Location: ' ) ;
For HTML, create a file (index.html for example) with the following content:
CONTENT="0; URL= ">
Here you have the option to delay the redirect by increasing the CONTENT variable. For example CONTENT=5 will delay the redirect for 5 seconds.
Was this answer helpful?
Please change your nameservers to the correct e-dimensionz nameservers. Nameserver 1:...
Propagation is the process of updating a domain with new nameserver (DNS) information across all...
You can change the nameservers of your registered domain from client area itself. For that, you...
In case you would like to access a certain URL for your domain name but do not display it in the...
This demo assumes you have a domain name registered through NetworkSolutions.com, and starts from...