[Solved] GT pro Error 404 Not Found

Popular automatic website translation tool

[Solved] GT pro Error 404 Not Found

Postby jayfilip » Wed Oct 12, 2011 2:30 pm

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
jayfilip
 
Posts: 7
Joined: Wed Oct 12, 2011 2:28 pm

Re: GT pro Error 404 Not Found

Postby Edvard » Wed Oct 12, 2011 3:41 pm

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.
Regards,

Edvard Ananyan - GTranslate Team

Please leave your feedback on your CMS plugin directory. It is very important for us!
Google Translate Joomla
Google Translate WordPress
Google Translate Drupal
Edvard
Site Admin
 
Posts: 4185
Joined: Mon Jun 28, 2010 1:54 pm
Location: Yerevan, Armenia

Re: GT pro Error 404 Not Found

Postby jayfilip » Wed Oct 12, 2011 5:07 pm

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
jayfilip
 
Posts: 7
Joined: Wed Oct 12, 2011 2:28 pm

Re: GT pro Error 404 Not Found

Postby Edvard » Wed Oct 12, 2011 8:16 pm

What is the permissions for translate.php file? May be you have set it to 777?
Regards,

Edvard Ananyan - GTranslate Team

Please leave your feedback on your CMS plugin directory. It is very important for us!
Google Translate Joomla
Google Translate WordPress
Google Translate Drupal
Edvard
Site Admin
 
Posts: 4185
Joined: Mon Jun 28, 2010 1:54 pm
Location: Yerevan, Armenia

Re: GT pro Error 404 Not Found

Postby jayfilip » Wed Oct 12, 2011 8:38 pm

644
jayfilip
 
Posts: 7
Joined: Wed Oct 12, 2011 2:28 pm

Re: GT pro Error 404 Not Found

Postby Edvard » Wed Oct 12, 2011 10:57 pm

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?
Regards,

Edvard Ananyan - GTranslate Team

Please leave your feedback on your CMS plugin directory. It is very important for us!
Google Translate Joomla
Google Translate WordPress
Google Translate Drupal
Edvard
Site Admin
 
Posts: 4185
Joined: Mon Jun 28, 2010 1:54 pm
Location: Yerevan, Armenia

Re: GT pro Error 404 Not Found

Postby jayfilip » Wed Oct 12, 2011 11:15 pm

<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]
jayfilip
 
Posts: 7
Joined: Wed Oct 12, 2011 2:28 pm

Re: GT pro Error 404 Not Found

Postby Edvard » Wed Oct 12, 2011 11:30 pm

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>
Regards,

Edvard Ananyan - GTranslate Team

Please leave your feedback on your CMS plugin directory. It is very important for us!
Google Translate Joomla
Google Translate WordPress
Google Translate Drupal
Edvard
Site Admin
 
Posts: 4185
Joined: Mon Jun 28, 2010 1:54 pm
Location: Yerevan, Armenia

Re: GT pro Error 404 Not Found

Postby jayfilip » Thu Oct 13, 2011 12:06 am

Thank you Edvard,

Now it works

Regards,
Jean-Philippe
jayfilip
 
Posts: 7
Joined: Wed Oct 12, 2011 2:28 pm


  • Related Topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 0 guests

2GLux