Forum Archive - URL issues

URL issues
Feb 10, 2011 5:05 pm by [email protected]
Hi, I've upgraded to the Pro version and there are a number of issues I didn't experience with the free version. My site is at http://www.valleyandvalecommunityarts.co.uk/ 1. Using the navigation bar on the individual language version of the site sometimes leads to blank pages except with the home pages e.g. http://www.valleyandvalecommunityarts.co.uk/cy/ go to this page and use the navigation bar. 2. The html of the pages has been altered with some links being stripped from the code - e.g. the three boxes on the bottom of the home page. This is crucial as all my category and tag pages are created using the same code as these e.g.http://www.valleyandvalecommunityarts.c ... animation/ the links are now missing. 3. Some of the links on my post pages are duplicated e.g. http://www.valleyandvalecommunityarts.c ... educators/ - the archives now have 2 year entries. 4. Embedded Vimeo videos don't work http://www.valleyandvalecommunityarts.c ... -day-film/ - the error message isn't on the English version of this page. 5. The Post Navigation at the bottom of each of my posts have double text. Thanks, in advance, for your help.
Re: URL issues
Feb 11, 2011 12:02 pm by Edvard
Hi, Please find my answers below: [*:16ihriyd] I can see that on .../cy/ page the link to About is .../cy/about on the main page the link is .../about/, so clearing the cache probably will solve the issue, since .../cy/about/ works. The difference is the slash in the end of the URL.[/*:m:16ihriyd] [*:16ihriyd] Didn't notice anything stripped, but I suspect that it is also connected with the cache.[/*:m:16ihriyd] [*:16ihriyd] It is because there are some empty span tags for styling purposes, the same effects can be achieved without that unnecessary tags, is it possible to make the code simpler? Or at least use div tags instead of span-s?[/*:m:16ihriyd] [*:16ihriyd] Seems that the player is embedded with the iframe tag, is it possible to use <script type="text/javascript">document.write('<iframe ...></iframe>');</script> ? [/*:m:16ihriyd] [*:16ihriyd] I tried to open a couple of translated posts, but didn't notice any navigation.[/*:m:16ihriyd] P.S. To clear the cache you need to delete the contents of gtranslate/cache folder.
Re: URL issues
Feb 11, 2011 1:37 pm by [email protected]
Hi Edvard, Thanks for the reply. Clearing the cache did solve the url issue but the others still remain. The most crucial of which is the stripping of the <a></a> tags on the News pages and others. I have pasted an example below: English html (untranslated version): <div class="featured"> <a href="http://www.valleyandvalecommunityarts.co.uk/2011/02/bridgend-home-educators/"> <div class="featured-meta"> <span class="date">February 9th 2011 <!-- by Kate --></span> </div> <div class="featured-lead-image"> <img width="300" height="200" title="Bridgend Home Educators" alt="Bridgend Home Educators" class="attachment-post-thumbnail wp-post-image" src="http://www.valleyandvalecommunityarts.co.uk/wp-content/uploads/2011/02/Home-Ed-pic-300x200.jpg"> </div> <div class="featured-text"> <h2 class="featured-post">Bridgend Home Educators</h2> <p>We have just begun a new series of workshops with a group of young people in Bridgend and the surrounding areas who are Home Educated.</p> </div> </a> </div> Welsh html (translated version): <div class="featured"><div class="featured-meta"> <span class="date">9 Chwefror, 2011</span> <!-- by Kate --></div><div class="featured-lead-image"><img width="300" height="200" title="Addysgwyr Hafan bont ar Ogwr" alt="Bridgend Home Educators" class="attachment-post-thumbnail wp-post-image" src="http://www.valleyandvalecommunityarts.co.uk/wp-content/uploads/2011/02/Home-Ed-pic-300x200.jpg"></div><div class="featured-text"><h2 class="featured-post"> Addysgwyr Hafan bont ar Ogwr </h2><p> Rydym wedi dechrau newydd cyfres newydd o weithdai gyda grŵp o bobl ifanc yn bont ar Ogwr a'r ardaloedd cyfagos sy'n Addysgwyd Hafan. </p></div></div> You can see that the <a></a> tag has been stripped out of the translated version. In the wordpress php file this tag holds the permalink: <a href="<?php the_permalink() ?>"> What is odd is that the link has gone but I still get the hand cursor when I roll over the bottom of the box below the image. Any ideas? As a result of this you can't navigate to the translated posts except via the slider on the home page. This one's a deal-breaker as most of the site is designed this way. To see the duplicated elements on a post have a look at this post http://www.valleyandvalecommunityarts.c ... ance-blog/ and you can see in the right sidebar, at the bottom, the years have been duplicated. Also, below the main body of the post the 'previous post' text is duplicated. This last is very odd as the 'next post' text isn't. Regarding the video embedding, I use the Vimeo Quicktag plugin for Wordpress which embeds the video using quicktags.
Re: URL issues
Feb 11, 2011 1:44 pm by [email protected]
Hi again, I've also just noticed that when viewing the translated standalone site, you plugin doesn't seem to work. For example if someone visits http://www.valleyandvalecommunityarts.co.uk/cy/ and then tries to click the translate flags or drop-down, only parts of the text seem to be translated. Thanks, Kate
Re: URL issues
Feb 14, 2011 8:59 am by Edvard
Hi, It seems that you are using jQuery on Fly version and on .../cy/ page and it is cached, when you click on a flag it should redirect you to an appropriate language code .../en/. Make sure that you use Redirect translation method and clear the cache after that. It is stripping the a tag because it is not valid HTML, you cannot have div tags inside a tag... For the right part I have already suggested what to do in my previous post. If you can give me FTP access, I can try to solve the issue for you.

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
Joomla: Modules Anywhere issuesMar 13, 2017 10:32 amReplies: 7Post by: Orangensaft
URL conversion issuesDec 20, 2017 1:38 amReplies: 1Post by: UriyFil
(beta) popup issuesNov 25, 2017 5:29 pmReplies: 1Post by: Adholics

Try GTranslate with a free 15 day trial