error 404 on homepage

Popular automatic website translation tool

error 404 on homepage

Postby [email protected] » Wed Aug 07, 2013 3:32 pm

Hi, from a translated page, when I click on the homepage button (the first one in the menu) I get a 400 error :-(


http://www.sigilplast.it/fr/prodotti/si ... egory_id=7
[email protected]
 
Posts: 5
Joined: Wed Aug 07, 2013 3:30 pm

Re: error 404 on homepage

Postby Yana » Wed Aug 07, 2013 4:10 pm

Hi,
The problem is related to .html extension. I can see the following link http://www.sigilplast.it/fr.html
Please try to add the following rules in your .htaccess file after rewriteEngine On

RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} !index.php
RewriteCond %{REQUEST_URI} !(.*)/$
RewriteRule ^(.*)$ http://sigilplast.it/$1/ [L,R=301]
Regards,

Yana Ghahramanyan - 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
Yana
 
Posts: 4329
Joined: Thu Jan 12, 2012 6:21 pm

Re: error 404 on homepage

Postby [email protected] » Wed Aug 07, 2013 5:44 pm

uhm this code doesnt work;

I get this URL for the homepage: http://sigilplast.it/en.html/ (still 404)

and it appends a / at the end of every URL page:

http://sigilplast.it/en/dove-siamo.html/
http://sigilplast.it/en/prodotti.html/
http://sigilplast.it/en/prodotti/sigill ... uste.html/
[email protected]
 
Posts: 5
Joined: Wed Aug 07, 2013 3:30 pm

Re: error 404 on homepage

Postby Yana » Thu Aug 08, 2013 12:47 pm

Dear Luca,

In this case please try the following rules:
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)\.html$ /$1 [L,R=301]
Regards,

Yana Ghahramanyan - 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
Yana
 
Posts: 4329
Joined: Thu Jan 12, 2012 6:21 pm

Re: error 404 on homepage

Postby [email protected] » Thu Aug 08, 2013 2:15 pm

Great support, thanks!

Luca
[email protected]
 
Posts: 5
Joined: Wed Aug 07, 2013 3:30 pm

Re: error 404 on homepage

Postby Yana » Thu Aug 08, 2013 7:48 pm

You're welcome!
Regards,

Yana Ghahramanyan - 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
Yana
 
Posts: 4329
Joined: Thu Jan 12, 2012 6:21 pm


  • Related Topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 0 guests

2GLux