Forum Archive - Issues with htaccess and URLs

Issues with htaccess and URLs
Jun 13, 2011 9:10 pm by [email protected]
Hi there, great product btw. I have this site XOOplate.com http://xooplate.com/ Notice in the footer when you translate a language it works http://xooplate.com/ar Great! Now when you go to another page other then the homepage http://xooplate.com/ar/template/details ... r-elements and try to convert it to another language it adds the language abbreviation on the end http://xooplate.com/ar/template/details/et but it should be http://xooplate.com/et/template/details ... r-elements any ideas how to change it to have the url http://xooplate.com/et/template/details ... r-elements Thanks
Re: Issues with htaccess and URLs
Jun 14, 2011 11:36 am by Edvard
You need to use GTranslate Free in Redirect translation method with Pro option on. You use another language selector.
Re: Issues with htaccess and URLs
Jun 14, 2011 7:42 pm by [email protected]
Hi there, i dont really understand what your saying, can you possible say it in a different way, im not a developer, what kind of language is that?
Re: Issues with htaccess and URLs
Jun 15, 2011 2:43 pm by [email protected]
You need to use GTranslate Free in Redirect translation method with Pro option on. You use another language selector. what do you mean but this, i bought the pro version. Please explain more in detail, this is urgent and i will do anything to have it translate. Thank you
Re: Issues with htaccess and URLs
Jun 16, 2011 12:47 pm by Edvard
You need to install GTranslate Free version and use it to navigate from language to language. Currently you use something else for that purpose.
Re: Issues with htaccess and URLs
Jun 17, 2011 8:00 pm by [email protected]
Hi there, thanks for the response. I am using the pro version why would i want to use free. do you see anything wrong with my htaccess? RewriteEngine on #RewriteCond %{REQUEST_URI} !^/xoolife 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] 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] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php/$1 [L] RewriteCond %{SERVER_PORT} !^443$ #RewriteRule ^(.*)$ http://localhost/jobportal/$1 [R] i am using code igniter and perhaps it destroys third uri segments thanks
Re: Issues with htaccess and URLs
Jun 20, 2011 12:25 pm by Edvard
It is OK. But GTranslate Pro is addition to the Free version and you need to use the Free only for the purpose to navigate from language to language on your site. If you want to use your current language selector box you need to modify it little bit. Add class="nturl" attribute and request URI to the href attribute of the <a> language links to be like: <a class="nturl" href="/XX/<?php echo $_SERVER['REQUEST_URI']; ?>" ...

SIMILAR TOPICS

META description issuesOct 30, 2018 10:37 amReplies: 1Post by: FredForbush
multiple issues please help!Sep 2, 2018 2:18 pmReplies: 1Post by: merwingomes
Enterprise URLs not workingMay 14, 2018 8:25 pmReplies: 1Post by: dpitfield
Joomla: Modules Anywhere issuesMar 13, 2017 10:32 amReplies: 7Post by: Orangensaft
URL conversion issuesDec 20, 2017 1:38 amReplies: 1Post by: UriyFil

Try GTranslate with a free 15 day trial