Forum Archive - Gtranslate pro - */CODE/content redirect for */content

Gtranslate pro - */CODE/content redirect for */content
Jul 14, 2012 11:46 am by Marcio Nunes
Hi! My web site worked fine. http://www.lecturas.org This is cache in google for english version (original language is spanish) from july 9th http://webcache.googleusercontent.com/s ... clnk&gl=es Yesterday crashed Can see this examples: http://www.lecturas.org/en http://www.lecturas.org/fr http://www.lecturas.org/it All language redirect for root domain http://www.lecturas.org Other example in portuguese language: http://www.lecturas.org/pt/horoscopo/mensual.html redirect for original spanish without /pt/ http://www.lecturas.org/horoscopo/mensual.html, removing the language code of URL In one test domain the redirect work, with license errors, but redirect: http://s393541961.mialojamiento.es/pt/ Not change in .htaccess, working perfectly. My hosting reply that it made no change in my server. Any idea? I dont use the plugin gtranslate, just the module as Gtranslate Pro and last version! (Joomla 1.5) Enable all features: PHP ionCube Loader PHP Curl library PHP JSON library Apache mod_rewrite All details can see here: PHP INFO: http://www.lecturas.org/info.php gtranslate/cache/xx - 777 Log debug, refused, but work in ssh the command: curl -v hostname Enable debug mode: http://www.lecturas.org/gtranslate/debug.txt * About to connect() to www.lecturas.org port 80 (#0) * Trying XXX.XXX.X51.88... * Connection refused * couldn't connect to host * Closing connection #0 php.ini allow_url_fopen = on register_globals = off display_errors = on allow_url_include = on allow_url_fopen = on allow_url_fopen = 1 zend_extension = /homepages/43/d393541947/htdocs/lecturas.org/var/www/vhosts/lecturas.org/ioncube/ioncube_loader_lin_5.2.so php_flag upload_max_filesize 50M php_flag max_execution_time 300 ; memory_limit = 60M My .htaccess ## # @version $Id: htaccess.txt 13415 2009-11-03 15:53:25Z ian $ # @package Joomla # @copyright Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved. # @license http://www.gnu.org/copyleft/gpl.html GNU/GPL # Joomla! is Free Software ## ##################################################### # READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE # # The line just below this section: 'Options +FollowSymLinks' may cause problems # with some server configurations. It is required for use of mod_rewrite, but may already # be set by your server administrator in a way that dissallows changing it in # your .htaccess file. If using it causes your server to error out, comment it out (add # to # beginning of line), reload your site in your browser and test your sef url's. If they work, # it has been set by your server administrator and you do not need it set here. # ##################################################### ## Can be commented out if causes errors, see notes above. RewriteEngine On RewriteBase / RewriteRule ^([a-z]{2}|zh-CN|zh-TW)/([a-z]{2}|zh-CN|zh-TW)/(.*)$ /$1/$3 [R=301,L] RewriteRule ^([a-z]{2}|zh-CN|zh-TW)/([a-z]{2}|zh-CN|zh-TW)$ /$1/ [R=301,L] RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^([a-z]{2}|zh-CN|zh-TW)/(.*)$ /gtranslate/translate.php?lang=$1&url=$2 [L,QSA] RewriteRule ^([a-z]{2}|zh-CN|zh-TW)$ /gtranslate/translate.php?lang=$1 [L,QSA] Options +FollowSymLinks AddHandler x-mapp-php5 .php SetEnv PHP_VER 5 SetEnv REGISTER_GLOBALS 0 #SecFilterEngine Off RewriteCond %{HTTP_HOST} ^lecturas.org [NC] RewriteRule ^(.*)$ http://www.lecturas.org/$1 [L,R=301] # gtranslate config #RewriteRule ^([a-z]{2}|zh-CN|zh-TW)/([a-z]{2}|zh-CN|zh-TW)/(.*)$ /$1/$3 [R=301,L] #RewriteRule ^([a-z]{2}|zh-CN|zh-TW)/([a-z]{2}|zh-CN|zh-TW)$ /$1/ [R=301,L] #RewriteCond %{REQUEST_URI} !^/js #RewriteRule ^([a-z]{2}|zh-CN|zh-TW)/(.*)$ /gtranslate/translate.php?lang=$1&url=$2 [L,QSA] #RewriteCond %{REQUEST_URI} !^/js #RewriteRule ^([a-z]{2}|zh-CN|zh-TW)$ /gtranslate/translate.php?lang=$1 [L,QSA] ########## Begin - Rewrite rules to block out some common exploits ## If you experience problems on your site block out the operations listed below ## This attempts to block the most common type of exploit `attempts` to Joomla! # ## Deny access to extension xml files (uncomment out to activate) #<Files ~ "\.xml$"> #Order allow,deny #Deny from all #Satisfy all #</Files> ## End of deny access to extension xml files RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR] # Block out any script trying to base64_encode crap to send via URL RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR] # Block out any script that includes a <script> tag in URL RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR] # Block out any script trying to set a PHP GLOBALS variable via URL RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR] # Block out any script trying to modify a _REQUEST variable via URL RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2}) # Send all blocked request to homepage with 403 Forbidden error! RewriteRule ^(.*)$ index.php [F,L] # ########## End - Rewrite rules to block out some common exploits # Uncomment following line if your webserver's URL # is not directly related to physical file paths. # Update Your Joomla! Directory (just / for root) ########## Begin - Joomla! core SEF Section # RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !^/index.php RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.feed|\.pdf|\.raw|/[^.]*)$ [NC] RewriteRule (.*) index.php RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L] # ########## End - Joomla! core SEF Section
Re: Gtranslate pro - */CODE/content redirect for */content
Jul 15, 2012 1:01 pm by Yana
Hi, There is a connection issue. Please fix it. * About to connect() to www.lecturas.org port 80 (#0) * Trying 87.106.151.88... * Connection refused * couldn't connect to host * Closing connection #0
Re: Gtranslate pro - */CODE/content redirect for */content
Jul 15, 2012 2:00 pm by Marcio Nunes
Thanks Yana! With DNS server resolve my domain name? My localhost or licence.gtranslate.net?
Re: Gtranslate pro - */CODE/content redirect for */content
Jul 16, 2012 5:26 pm by Marcio Nunes
Fixed the problem with provider... Gtranslate now working!
Re: Gtranslate pro - */CODE/content redirect for */content
Jul 18, 2012 3:40 pm by Yana
Hi, Good to hear that!

SIMILAR TOPICS

Gtranslate MultisiteFeb 12, 2019 7:27 amReplies: 1Post by: infact_dat
Gtranslate: Error with numberFeb 20, 2019 1:20 amReplies: 1Post by: infact_dat
GTranslate 3.7.4, Joomla 3.9.3 - doGTranslate is not definedFeb 22, 2019 12:34 pmReplies: 1Post by: oase
Add-on gtranslate no longer worksFeb 2, 2019 6:01 amReplies: 1Post by: DarylDixon
Large numbers of crawl errors with double language codeJan 24, 2019 1:43 amReplies: 1Post by: natastna2

Try GTranslate with a free 15 day trial