Forum Archive - [Solved]Problems with "nturl"

[Solved]Problems with "nturl"
Jul 19, 2012 4:54 pm by yenerich
I change the htaccess to be able to make my canonical urls fine. The problems is that some links that i made suddenly fails, like if class="nturl" was not working. First my htaccess code: # 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_FILENAME} !-f RewriteRule ^([a-z]{2}|zh-CN|zh-TW)/(.*)$ /gtranslate/translate.php?lang=$1&url=$2&glang=$1&force_translation=1 [L,QSA] RewriteRule ^([a-z]{2}|zh-CN|zh-TW)$ /gtranslate/translate.php?lang=$1&glang=$1[L,QSA] Now, this kind of link fails: $Country = ""; $fULLuRL = $Country . $_SERVER['REQUEST_URI']; echo '<li><a href="' . $fULLuRL . '" class="nturl" class="notranslate">' . $fULLuRL . '</a></li><br>'; Thanks in advance for any help.
Re: Problems with "nturl"
Jul 19, 2012 5:35 pm by yenerich
Solved, i didnt notice this: class="nturl" class="notranslate" Should be: class="nturl notranslate"


Error message and URL problemsFeb 6, 2019 11:16 amReplies: 1Post by: Kidbooo
How to add rel="nofollow" to GTranslate links ?Sep 19, 2018 10:10 amReplies: 5Post by: agatti
Caching and Translation problems since upgradeJan 16, 2018 8:49 amReplies: 9Post by: spektrume
<html dir="ltr" lang="no" prefix="og:">Dec 19, 2017 7:35 amReplies: 2Post by: besybuy
[SOLVED]double dropdownOct 26, 2017 8:26 amReplies: 3Post by: danielesantosubito

Try GTranslate with a free 15 day trial