Error 302 for some languages
Dec 6, 2010 1:58 pm by [email protected]
Dec 6, 2010 1:58 pm by [email protected]
Hello!
Today I changed my gtranslate config with adding this code. But now I detect that some URLs language from my website have go to 302 error:
http://www.nudos.org/sw/
http://www.nudos.org/tl/
http://www.nudos.org/et/
http://www.nudos.org/th/
http://www.nudos.org/mt/
And much more...
Many thanks for your support.
define('MAINLANG', 'en');
if(rand() % 20 == 0) {
// purge expired cache
$cached_files = array_diff(scandir('cache'), array('.', '..'));
$now = strtotime('now');
foreach($cached_files as $cached_file)
if($now - filemtime('cache/'.$cached_file) > 1.5 * CACHETIME)
unlink('cache/'.$cached_file);
}
Re: Error 302 for some languages
Dec 6, 2010 5:31 pm by Edvard
Dec 6, 2010 5:31 pm by Edvard
Please read this: gtranslate/google-unusual-traffic-from-gtranslate-t8.html
SIMILAR TOPICS
Gtranslate: Error with number | Feb 20, 2019 1:20 am | Replies: 1 | Post by: infact_dat |
Error message and URL problems | Feb 6, 2019 11:16 am | Replies: 1 | Post by: Kidbooo |
GT doesn't work...error 404 page | Jan 28, 2019 5:36 pm | Replies: 1 | Post by: vincenzodinuzzo |
Nginx 502 Error | Jan 11, 2019 2:15 pm | Replies: 1 | Post by: mightyfineprint |
Error message on click on the widget | Jan 6, 2019 9:52 pm | Replies: 1 | Post by: jmric68 |