Forum Archive - Redirection for not duplicate

Redirection for not duplicate
Aug 20, 2016 8:48 am by yule
Hello, How to redirect to avoid duplicate content? It is mentioned that one must remove these redirects to use your services, then I noticed this proposal RewriteCond %{HTTP:X-GT-Lang} ^$ # requests from our network will have X-GT-Lang header RewriteCond %{HTTP_HOST} ^fullgambler.com RewriteRule (.*) http://www.fullgambler.com/$1 [R=301,L] But when I use it I get an error Internal Server Error..... I do not want this (example) http://fullgambler.com/de/ This address can be directly writing it and I wish this is displayed and if it happens, it redirects here http://www.fullgambler.com/de/ Thank you to tell me how to do a redirect without jeopardizing the translation system Have a good day Steve
Re: Redirection for not duplicate
Aug 20, 2016 10:53 am by Yana
Hi, Please try to remove comment # requests from our network will have X-GT-Lang header. If it doesn't help you, let us know and we will configure www redirection on our side.
Re: Redirection for not duplicate
Aug 20, 2016 12:50 pm by yule
Sorry but the problem persists only the primary language (fr) RewriteCond %{HTTP:X-GT-Lang} ^$ RewriteCond %{HTTP_HOST} ^fullgambler.com$ RewriteRule ^(.*) http://www.fullgambler.com/$1 [R=301,L] fullgambler.com -> h*tp://www.fullgambler.com it's ok but h*tp://fullgambler.com/forex/comparatif-broker-forex.php it's no ok... h*tp://fullgambler.com/en/forex/comparatif-broker-forex.php -> h*tp://www.fullgambler.com/en/forex/comparatif-broker-forex.php it's ok by cons with the sub folder that indicate the languages it's ok, it's only the primary language that it does not redirect (except on the index) Steve
Re: Redirection for not duplicate
Aug 21, 2016 5:14 pm by Yana
Dear Steve, Please enable www redirection for your website and remove the following rules from .thaccess. RewriteCond %{HTTP:X-GT-Lang} ^$ RewriteCond %{HTTP_HOST} ^fullgambler.com$ RewriteRule ^(.*) http://www.fullgambler.com/$1 [R=301,L] We will configure it on our server.
Re: Redirection for not duplicate
Aug 22, 2016 8:53 pm by yule
Hello Yana I did what you asked me. Now for this address h * tp: //fullgambler.com/forex/comparatif-broker-forex.php I have this message Error 404 Vhost unknown vhost unknown Varnish server L7 redirection on your server is not in place? Thanks in advance Steve
Re: Redirection for not duplicate
Aug 22, 2016 9:27 pm by Edvard
Hi Steve, I see you are trying to redirect your domain.com to www.domain.com. It is something which is not related to GTranslate. Please search how to do the redirect with your .htaccess and when it is done, just let us know. The common rewrite rules to force www is: RewriteCond %{HTTP_HOST} ^example.com [NC] RewriteRule ^(.*)$ http://www.example.com/$1 [L,R=301,NC] Thanks!
Re: Redirection for not duplicate
Aug 22, 2016 10:19 pm by yule
Hello, I do not understand nothing ... First you must disable redirection, now I have it back and I know more or I'm ... I will write to my webhost to try to get out and coming back to you for this redirection Now the translation appears anything with or without .htaccess redirection arghhhh ..... I'll put my field as originally with my host, with a 301 to fullgambler.com -> www.fullgambler.com The .htaccess redirects will not work with GTranslate ... I have to make some wrong things ... Good night Steve
Re: Redirection for not duplicate
Aug 23, 2016 1:47 pm by Yana
Dear Steve, Just redirect your domain to www . We have configured www for our network requests on our server.
Re: Redirection for not duplicate
Sep 7, 2016 6:22 pm by hiepelines
ASP or PHP ? Thanks
Re: Redirection for not duplicate
Sep 9, 2016 3:40 pm by Edvard
We have support for all HTML websites, it doesn't matter if the website HTML is generated with ASP or PHP or any other programming language. Thanks!

SIMILAR TOPICS

Go back to original language after redirection? dnt knw howOct 15, 2018 8:30 amReplies: 1Post by: LesterCrawford
Go back to original language after redirectionSep 19, 2017 6:03 pmReplies: 1Post by: spheresocial
Stop sub domain redirection to main domainApr 12, 2016 7:45 pmReplies: 3Post by: xperthere
GTranslate Pro Issues with RedirectionJan 6, 2015 4:26 amReplies: 4Post by: davida26
How to keep basic language and avoid duplicate content?Jul 16, 2014 3:16 amReplies: 5Post by: sportnetwork

Try GTranslate with a free 15 day trial