Forum Archive - Website in subdirectory

Website in subdirectory
Mar 24, 2015 12:40 pm by SkyFocus
Hi, I've installed the free version which works good. But I wanted to be able to edit some translations and bought the Pro version for that purpose. Problem I have after following the installation guide is that when I enable the Pro version, switching to another language gives a "not found" The URl it's trying to load is strange. My site is in It tries to load I'm not sure if it's the extra subdirectory which breaks GTranslate Pro ... The gtranslate directory should that be in or in ? I have a live website in and don't want to disrupt that sites opperation. How can I install Gtranslate Pro in ? Regards, Arjan
Re: Website in subdirectory
Mar 25, 2015 11:14 am by Yana
Hi, If your website is in the subdirectory you need to install gtranslate Pro general . You can find the instructions here ... on#general
Re: Website in subdirectory
Mar 25, 2015 3:59 pm by SkyFocus
Hello Yana, Thanks for your reply. I did follow this guide but I'm still struggling with the paths. It has got something to do with the rewriting rules I think. Please correct me when I'm wrong: My website is in 1) the gtranslate directory (from the general path) goes to the root of the website that is 2) The .htaccess sitemap.txt and robots.txt goes to the root of my site: that is 3) The .htaccess rewrite rules are: # 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 [L,QSA] RewriteRule ^([a-z]{2}|zh-CN|zh-TW)$ /gtranslate/translate.php?lang=$1 [L,QSA] 4) I installed gTranslate Free (which works fine) and switch on the Pro Version 5) The config.php has got "nl" as a default language I did all of the above and the result is. -> When I browse to the main page it is ok. I see the Dutch language. The language the site has been written in. -> When I click on the English language it is rewriting the URl to and gives me a page not found Where am I going wrong ? regards, Arjan
Re: Website in subdirectory
Mar 25, 2015 4:38 pm by SkyFocus
Ok, I tested it some more and the problem was in the .htaccess file. This file should be placed in the root directory of the website. Apparently this did not interfere with the existing live website. The next problem I now run into is that when selecting another language than the default, the menu links which proceed to an alias on the same page are not working any more. They do work in the default language. Any idea how to fix that ? When hovering above a actual link to another page of the site the URL is correct: When hovering above a link to an alias on the same page (#aliaslink notation in Joomla) it is wrong: The link does not work It's the same in all other languages. To test it for real you can browse to and switch to a language (not dutch). The "map" link is working, the "portfolio" link is not. In dutch the links are all working. Regards, Arjan
Re: Website in subdirectory
Mar 26, 2015 2:52 pm by Yana
Hi, Please put full links . For example <a href="#aliaslink" > should be <a href=""
Re: Website in subdirectory
Mar 26, 2015 3:01 pm by SkyFocus
Hi, If I do that I loose the possibility to move my site to another subdirectory. Is it possible to keep those links relative to there position ? Arjan
Re: Website in subdirectory
Mar 27, 2015 1:50 pm by Yana
Dear Arjan, In order to generate the links for the translated versions correctly you should put full links.
Re: Website in subdirectory
Oct 13, 2016 4:31 pm by SkyFocus
Hi, I just found out that my installation of Gtranslate is not working anymore. When browsing to and I switch to English ( the message "You don't have appropriate license for domain name. Please purchase GTranslate Pro license." appears. As far as I know I did purchase a GTranslate Pro license and I did not change anything in the Joomla installation. Help would be appreciated, my English customers are not able to visit my site anymore ... Regards, Arjan
Re: Website in subdirectory
Oct 13, 2016 7:29 pm by Yana
Hi, We do not support GTranslate Pro any more. We recommend upgrading your GTranslate Pro to one of our new plans:
Re: Website in subdirectory
Oct 14, 2016 9:30 am by SkyFocus
You are kidding me !!! And when are you guys planning to tell me this ! It is very bad to hear this from my customer in the first place, how long has this been the case? Ok, how to translate my PRO installation (where I payed already for) to the free version without compromising the current translations ? Regards, Arjan
Re: Website in subdirectory
Oct 14, 2016 3:19 pm by Yana
Dear Arjan, Please read the official end of life announcement for GTranslate Pro : ... nslate-pro . Free version doesn't support manual translations. With the free version you cannot see edited translations. To switch to the free version you just need to change an option in gtranslate module settings page.


Google stopped providing website translator widgetsFeb 28, 2019 2:43 pmReplies: 0Post by: Edvard
not aligned on websiteFeb 27, 2019 2:24 pmReplies: 1Post by: mrkapable007
Highly increased load on website from 19, 2019 8:29 pmReplies: 1Post by: Ant_Z
Translate website to any specific language, on page loadJan 19, 2019 6:49 amReplies: 1Post by: Leaon7756
Problem of translation in my websiteDec 8, 2018 12:15 pmReplies: 1Post by: Ibrahim

Try GTranslate with a free 15 day trial