View Single Post
Old 08-21-2013, 01:03 PM  
paffie
Confirmed User
 
Industry Role:
Join Date: Mar 2013
Posts: 116
i don't think you have a delay-option in htaccess... I'm not a guru, but i've never heared from such a thing...

Maybe you could use your html-headers for this:
<meta http-equiv="refresh" content="10; url=http://example.com/">
This way, you can show your original page, and it will automatically foreward after 10 seconds

or place a code like this in your php-code:
<?php
sleep(10);
header('Location: http://www.example.com/');
?>
This second option (including in php) might need some tweaking, since it's possible the header has to be sent before any other data is sent to the browser... (actually, i'm pretty sure of this)
__________________
Need a VPS? I use Ramnode, great uptime, friendly support and only $62/year (after their lifelong coupon) for an openVZ VPS => [email protected], 512Mb ram, 512 Mb swap, 120 Gb SSD, 1Gbps port, 2 Tb bandwith, 1 IPv4, 16 IPv6, weekly backups
paffie is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote