Forum Archive - error 404 on homepage

error 404 on homepage
Aug 7, 2013 11:32 am by [email protected]
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
Re: error 404 on homepage
Aug 7, 2013 12:10 pm by Yana
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]
Re: error 404 on homepage
Aug 7, 2013 1:44 pm by [email protected]
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/
Re: error 404 on homepage
Aug 8, 2013 8:47 am by Yana
Dear Luca, In this case please try the following rules: RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)\.html$ /$1 [L,R=301]
Re: error 404 on homepage
Aug 8, 2013 10:15 am by [email protected]
Great support, thanks! Luca
Re: error 404 on homepage
Aug 8, 2013 3:48 pm by Yana
You're welcome!

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