Forum Archive - [Solved] GT pro Error 404 Not Found

[Solved] GT pro Error 404 Not Found
Oct 12, 2011 10:30 am by jayfilip
http://tour-asia-travel.com/fr/ When I select a language I'm being redirected to a URL with the language code, but it gives 404 not found error. - Make sure that you have uploaded gtranslate folder to your www root folder. DONE - Make sure that you have .htaccess file and have placed # gtranslate config block to the next line of RewriteEngine On line in it. DONE - Make sure that you have Apache mod_rewrite or an alternative installed on your server (check with your hosting provider). DONE need help please
Re: GT pro Error 404 Not Found
Oct 12, 2011 11:41 am by Edvard
When I go to http://tour-asia-travel.com/gtranslate/translate.php it shows 404 error, so - Make sure that you have uploaded gtranslate folder to your www root folder.
Re: GT pro Error 404 Not Found
Oct 12, 2011 1:07 pm by jayfilip
can you see the folder : http://tour-asia-travel.com/gtranslate/ Index of /gtranslate Parent Directory cache/ cart.png config.php delete.png edit.png edit_translation.php license.dat order.php translate.php
Re: GT pro Error 404 Not Found
Oct 12, 2011 4:16 pm by Edvard
What is the permissions for translate.php file? May be you have set it to 777?
Re: GT pro Error 404 Not Found
Oct 12, 2011 4:38 pm by jayfilip
644
Re: GT pro Error 404 Not Found
Oct 12, 2011 6:57 pm by Edvard
In that case you need to talk to your hosting provider. The file is in place, but when you access it, it shows 404 not found error which is a nonsense. What do you have in your .htaccess file?
Re: GT pro Error 404 Not Found
Oct 12, 2011 7:15 pm by jayfilip
<IfModule mod_rewrite.c> ErrorDocument 404 /index.php?error=404 RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # 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&force_no_api=1 [L,QSA] RewriteRule ^([a-z]{2}|zh-CN|zh-TW)$ /gtranslate/translate.php?lang=$1&force_no_api=1 [L,QSA]
Re: GT pro Error 404 Not Found
Oct 12, 2011 7:30 pm by Edvard
You can try also do delete gtranslate folder and upload it again. Try to put info.php file from the package and access it: http://domain.com/gtranslate/info.php If after that it doesn't work, contact your hosting provider. Use this instead, it is required for the Pro version to function correctly: <IfModule mod_rewrite.c> ErrorDocument 404 /index.php?error=404 RewriteEngine On # 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&force_no_api=1 [L,QSA] RewriteRule ^([a-z]{2}|zh-CN|zh-TW)$ /gtranslate/translate.php?lang=$1&force_no_api=1 [L,QSA] RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule>
Re: GT pro Error 404 Not Found
Oct 12, 2011 8:06 pm by jayfilip
Thank you Edvard, Now it works Regards, Jean-Philippe

SIMILAR TOPICS

Gtranslate: Error with numberFeb 20, 2019 1:20 amReplies: 1Post by: infact_dat
Error message and URL problemsFeb 6, 2019 11:16 amReplies: 1Post by: Kidbooo
GT doesn't work...error 404 pageJan 28, 2019 5:36 pmReplies: 1Post by: vincenzodinuzzo
Nginx 502 ErrorJan 11, 2019 2:15 pmReplies: 1Post by: mightyfineprint
Error message on click on the widgetJan 6, 2019 9:52 pmReplies: 1Post by: jmric68

Try GTranslate with a free 15 day trial