Forum Archive - Error for enterprise [solved] how we do 301 direction ?

Error for enterprise [solved] how we do 301 direction ?
Aug 20, 2013 9:00 am by hjrobert
"An error occurred. RewriteCond %{HTTP:X-GT-Lang} ^$ RewriteCond %{HTTP_HOST} ^domain.com RewriteRule (.*) http://www.domain.com/$1 [R=301,L] If we delete it, how we make possible to domain.com 301 direct www.domain.com again ?
Re: Error for enterprise
Aug 20, 2013 9:00 am by hjrobert
website
Re: Error for enterprise
Aug 20, 2013 9:41 am by hjrobert
Also, how i can solve problem with 301 direction with non www to www ? I mean now I deleted the redirection, but we do really need to make non www direct to www, how we can do now ?
Re: Error for enterprise [solved] how we do 301 direction ?
Aug 20, 2013 8:29 pm by Yana
Hi, You need to remove www redirection and add the following lines to .htaccess file after RewriteEngine On RewriteCond %{HTTP:X-GT-Lang} ^$ RewriteCond %{HTTP_HOST} ^explorecn.com RewriteRule (.*) http://www.explorecn.com/$1 [R=301,L]

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