Forum Archive - Error 302 for some languages

Error 302 for some languages
Dec 6, 2010 1:58 pm by gturmo[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
Please read this: gtranslate/google-unusual-traffic-from-gtranslate-t8.html

SIMILAR TOPICS

Gtranslate: Error with numberFeb 20, 2019 1:20 amReplies: 1Post by: infact_dat
Error message and URL problemsFeb 6, 2019 11:16 amReplies: 1Post by: Kidbooo
GT doesn't work...error 404 pageJan 28, 2019 5:36 pmReplies: 1Post by: vincenzodinuzzo
Nginx 502 ErrorJan 11, 2019 2:15 pmReplies: 1Post by: mightyfineprint
Error message on click on the widgetJan 6, 2019 9:52 pmReplies: 1Post by: jmric68

Try GTranslate with a free 15 day trial