Forum Archive - Linking from other languages to main site

Linking from other languages to main site
Oct 29, 2015 10:38 am by [email protected]
Hello, I added my own language changer The problem I am having is that if you are in mysite co.cuk and want to go back to the original main language, the site just refreshes, it does no link to the main site which is mysite .es Is there a way to make that link go to my main site? <li class="uk-active"><a href="#">English</a></li> <li><a href="http://www.mysite .es">Spanish</a></li>
Re: Linking from other languages to main site
Oct 29, 2015 1:25 pm by Yana
Hi, If you are using direct links it should go to http://www.mysite .es . Please post your website address, so I can check it or use our language selector. Please check the following post post13135.html?hilit=dogtranslate#p13135
Re: Linking from other languages to main site
Oct 29, 2015 4:47 pm by [email protected]
Hi, These is my Gtranslate site in english: http : // www. mydomain .co. uk/ if you go down to the footer you will see the language changer, if you click on "spanish", my main site, then the link does not work, which I know is "normal", I am just saying if there is a way to make Gtranslate force the link to my main site to overpass Gtranslate. Like maybe something I can put on the <a href= or php to force http : // www. mydomain .es to go through.
Re: Linking from other languages to main site
Oct 30, 2015 3:55 am by Edvard
Hi, You will need to add class="nturl" attribute to the <a> tag, so it will not change the URL. Thanks!
Re: Linking from other languages to main site
Oct 30, 2015 7:11 am by [email protected]
thank you! works perfect.
Re: Linking from other languages to main site
Oct 30, 2015 3:07 pm by Yana
You are welcome!

SIMILAR TOPICS

how to translate site right to left for arabic in WordPressDec 26, 2018 9:02 amReplies: 1Post by: Hammond753
How do I add Indian languages in Drupal GTranslate?Sep 18, 2011 6:10 amReplies: 26Post by: rag_gupta
Would you share your site URL?Dec 3, 2018 4:57 pmReplies: 1Post by: BevVincent
Can I Translate Only Few Elements Of My Site?Aug 16, 2018 1:31 pmReplies: 1Post by: riyagupta
Code to use in Google Analytics to track languagesNov 16, 2015 10:46 amReplies: 9Post by: lucysadler

Try GTranslate with a free 15 day trial