Forum Archive - [Solved] File path issue

[Solved] File path issue
May 16, 2012 5:27 am by pacowilson
Hi, several months ago, we installed the Gtranslate. It's good. But we are facing a big problem, the Gtranslate automatically add prefix (such as es/fr/de) in our download file link. These auto generated file link caused huge amount of 404 error. Example: In Spanish translation: (404 page) Please help me, how to solve this problem ?
Re: File path issue
May 16, 2012 9:27 am by pacowilson
no any reply ? how to stop gtranslate add es/fr/de/ru...etc into specific url ? like the file download url.
Re: File path issue
May 16, 2012 10:48 am by Yana
Hi, You can add a rewrite rulein your .htaccess to redirect your files. Here is an example RewriteRule ^([a-z]{2})/file/(.*) /file/$2 [R=301,L]
Re: File path issue
May 16, 2012 11:26 am by pacowilson
It works. Solved the problem, Thanks !
Re: [Solved] File path issue
May 16, 2012 12:18 pm by Yana
I'm glad I could help you.


How to emulate subdomain/language in .htacces fileAug 23, 2018 8:40 amReplies: 1Post by: ramyrickson
IONCUBE ISSUEMay 26, 2018 11:59 pmReplies: 3Post by: apeks
500 error - file not foundMar 19, 2018 5:15 pmReplies: 1Post by: bigblue
Seem some issue with Jm3.8.2 & php 5.6Nov 20, 2017 5:03 amReplies: 3Post by: fuzmic
[SOLVED]double dropdownOct 26, 2017 8:26 amReplies: 3Post by: danielesantosubito

Try GTranslate with a free 15 day trial