Issues with htaccess and URLs
Jun 13, 2011 9:10 pm by [email protected]
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
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]
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]
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
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]
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
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 issues | Oct 30, 2018 10:37 am | Replies: 1 | Post by: FredForbush |
multiple issues please help! | Sep 2, 2018 2:18 pm | Replies: 1 | Post by: merwingomes |
Enterprise URLs not working | May 14, 2018 8:25 pm | Replies: 1 | Post by: dpitfield |
Joomla: Modules Anywhere issues | Mar 13, 2017 10:32 am | Replies: 7 | Post by: Orangensaft |
URL conversion issues | Dec 20, 2017 1:38 am | Replies: 1 | Post by: UriyFil |