Forum Archive - Not Translate 404 Page

Not Translate 404 Page
Jul 13, 2015 4:32 pm by rcosta
Hello Wonder if there is a possibility of not being made the translation of error page 404 - Page Not Found. If the page translation is made http reponse is HTTP/1.1 200 OK instead of 404 - Page not found. If the original page does not exists go to the default error page and not to translate it. Regards
Re: Not Translate 404 Page
Jul 15, 2015 4:11 pm by Yana
Hi, You can add class="notranslate" to the wrapper element .
Re: Not Translate 404 Page
Jul 16, 2015 10:00 pm by rcosta
Hello If i add class="notranslate" to the wrapper element that element i know that this element will not be translated, but http reponse remains HTTP/1.1 200. The problem is not in the translation, but the response that the server gives a page that does not exist. If the url http://www.mysite.com/page-not-exists the answer given by the server is 404 - Page Not Found, but the response to http://www.mysite.com/fr/page-not-exists is HTTP/1.1 200 - Page Found with the title "404 - Page Non Trouvée". This is a problem since can create SOFT 404 pages. Http server return 200 of a non-existent page. The problem is in the http server return code and not in the page translation. I need to know if there is a possibility that the error page not be captured by GTranslate when the original page does not exist, or else the server returns the error 404 with the translation of the error page made. Regards
Re: Not Translate 404 Page
Jul 17, 2015 6:52 pm by Edvard
Hi, If you return 404 http response code it will not be translated. Thanks!
Re: Not Translate 404 Page
Jul 17, 2015 8:47 pm by rcosta
Hi, If you return 404 http response code it will not be translated. Thanks! It is not true. The error page is translated and http server return code 200 - Page Found.
Re: Not Translate 404 Page
Jul 17, 2015 9:03 pm by rcosta
I give an example: This page does not exist: http://www.pintarcolorir.com/desenhos/b ... ney-tunes/ but this pages exist: htt​p:/​/ww​w.p​int​arc​olo​rir​.co​m/r​o/d​ese​nho​s/b​aby​-lo​one​y-t​une​s/ HTTP/1.1 200 OK Date: Fri, 17 Jul 2015 18:55:14 GMT Server: Apache/2.2.15 X-Powered-By: PHP/5.3.3 Vary: Accept-Encoding Content-Type: text/html; charset=UTF-8 Cache-Control: no-cache last-modified: Thu May 30 01:00:00 EDT 2012 Content-Length: 761 Connection: close <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>404 Not Found</title> </head><body> <h1>Nu A Fost Găsit</h1> <p>A solicitat URL / desene / baby-Looney-melodiile / nu a fost găsit pe acest server.</p> </body></html> <!-- generated by GTranslate Pro v3.141592 visit https://gtranslate.io --> This is not right. The http server should return 404 and not 200.
Re: Not Translate 404 Page
Jul 20, 2015 3:19 pm by Edvard
Hi, In Enterprise version the issue is resolved. If you want we can upgrade your Pro license to Enterprise. Thanks!

SIMILAR TOPICS

wordpress amp link not translateDec 31, 2016 10:11 amReplies: 12Post by: besybuy
GT doesn't work...error 404 pageJan 28, 2019 5:36 pmReplies: 1Post by: vincenzodinuzzo
Translate website to any specific language, on page loadJan 19, 2019 6:49 amReplies: 1Post by: Leaon7756
Best way to translate a page in WordPress?Jan 7, 2019 11:10 amReplies: 3Post by: Tonnystark
how to translate site right to left for arabic in WordPressDec 26, 2018 9:02 amReplies: 1Post by: Hammond753

Try GTranslate with a free 15 day trial