Results 1 to 9 of 9

Thread: Translate script URL problems

  1. #1
    jweb is offline Unknown Net Builder
    Join Date
    Aug 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Translate script URL problems

    I have just tried to upgrade to the 2009-09-23 version of the translate script but have encountered the following problem in the translated URL structure.

    My site is http : / / www. domainname .com (example url). I installed translate script and clicked on one of the flags to translate. This took me to
    ==> http : / / www. domainname. com/lang/es
    so far so good. then I clicked on one of the links. This took me to
    ==> http : / / www. domainname. com/lang/es/menu1
    fantastic - all good. Then I clicked on one of the links from this menu page and the wheels fell off.
    It should have taken me to
    ==> http : / / www. domainname. com/lang/es/detail-page1.html
    but it tried to link to
    ==> http : / / www. domainname. com/lang/es/menu1/detail-page1.html

    When I try other links it keeps concatenating on end of URL giving 404 errors.

    I am using the full URL name in my site (no relative links). Any ideas what is going on here? The translate works correctly on this same site with old Version 2.13 of the script.
    Last edited by jweb; 3 October, 2009 at 12:00 PM. Reason: remove hyperlinks from example urls

  2. #2
    Will.Spencer's Avatar
    Will.Spencer is offline Retired
    Join Date
    Dec 2008
    Posts
    5,033
    Blog Entries
    1
    Thanks
    1,010
    Thanked 2,329 Times in 1,259 Posts
    What CMS is that site running?

    Can you share the URL?
    Submit Your Webmaster Related Sites to the NB Directory
    I swear, by my life and my love of it, that I will never live for the sake of another man, nor ask another man to live for mine.

  3. #3
    yagami is offline Unknown Net Builder
    Join Date
    Oct 2009
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Will.Spencer View Post
    What CMS is that site running?

    Can you share the URL?
    I have the same problem with my site:
    h**p://www.actu-master.com/lang/de/affaires/
    I'm using articlems cms.

    Thank you in advance for your support.

    EDIT:
    I think it has something to do with my .htaccess file, so here it is, may be it could help:
    Code:
    <IfModule mod_php5.c>
    php_value session.use_only_cookies 1
    php_value session.use_trans_sid 0
    </IfModule>
    
    <IfModule mod_rewrite.c>
    Options +FollowSymLinks
    
    RewriteEngine on
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-l
    
    RewriteRule .* index.php [QSA,L]
    </IfModule>
    
    php_value default_charset "UTF-8"
    Last edited by yagami; 25 October, 2009 at 19:36 PM.

  4. #4
    Will.Spencer's Avatar
    Will.Spencer is offline Retired
    Join Date
    Dec 2008
    Posts
    5,033
    Blog Entries
    1
    Thanks
    1,010
    Thanked 2,329 Times in 1,259 Posts
    Quote Originally Posted by yagami View Post
    I think it has something to do with my .htaccess file
    Can you disable your .htaccess file for long enough to test whether it is indeed creating the issue?
    Submit Your Webmaster Related Sites to the NB Directory
    I swear, by my life and my love of it, that I will never live for the sake of another man, nor ask another man to live for mine.

  5. #5
    yagami is offline Unknown Net Builder
    Join Date
    Oct 2009
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thank you Will.
    I'll try this and keep you informed.

  6. #6
    mattb is offline Unknown Net Builder
    Join Date
    Oct 2009
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hi Will,

    I am having this same issue as well. I will attempt to remove the htaccess file as well.

    Thanks,

    Matt

  7. #7
    mattb is offline Unknown Net Builder
    Join Date
    Oct 2009
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    My experience with the htaccess file did not result in success. The issue seems to be in the htaccess file, as I am now having similar rewrite problems with the rest of the site...

  8. #8
    yagami is offline Unknown Net Builder
    Join Date
    Oct 2009
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Me neither, removing one by one and testing all the elements of the htaccess file didn't solve my problem.

  9. #9
    mattb is offline Unknown Net Builder
    Join Date
    Oct 2009
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I found the problem for my site, I had '../yada/' file calls all over the place instead of absolute /yada/ Not sure if that will help, but it solved quite a few of my problems that seemed like htaccess problems.

    mattb.

Similar Threads

  1. problems with translation - doesnt translate
    By rsands in forum Translation Script Support
    Replies: 1
    Last Post: 23 February, 2010, 14:56 PM
  2. Google Translate for Websites
    By elbandelero in forum Content and Writing
    Replies: 3
    Last Post: 1 October, 2009, 09:55 AM
  3. configuring to translate root folder?
    By moltovivo1 in forum Translation Script Support
    Replies: 12
    Last Post: 6 August, 2009, 12:10 PM
  4. Replies: 8
    Last Post: 28 April, 2009, 23:02 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •