PDA

View Full Version : Speed up redirection in 1.5b


skennedy1217
02-06-2006, 07:44 PM
The redirection on my comment form works, but it seems to take too long. Is there a time set somewhere in the code and if so, where is it so I can shorten it? Ideally, I would like the redirect to be immediate without the "Thank You" page, but I'd settle for a second or two.

Dkozikowski
02-06-2006, 07:55 PM
I believe this is in index.php

do a search for:

<meta http-equiv="refresh" content="8; URL=<?php echo $_SERVER['HTTP_REFERER']; ?>" />


To change the redirection delay, change the value of content.

skennedy1217
02-06-2006, 08:11 PM
I found that code, but I am at a loss as to whether or not I can change the attribute. I did a web search for HTTP_REFERER but couldn't drill down to something useful for the situation.

se.nsuo.us
02-07-2006, 04:01 AM
content="8; <- this is the delay in seconds - make it 0