Error for enterprise [solved] how we do 301 direction ?
Aug 20, 2013 9:00 am by hjrobert
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
Aug 20, 2013 9:00 am by hjrobert
website
Re: Error for enterprise
Aug 20, 2013 9:41 am by hjrobert
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
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 number | Feb 20, 2019 1:20 am | Replies: 1 | Post by: infact_dat |
Error message and URL problems | Feb 6, 2019 11:16 am | Replies: 1 | Post by: Kidbooo |
GT doesn't work...error 404 page | Jan 28, 2019 5:36 pm | Replies: 1 | Post by: vincenzodinuzzo |
Nginx 502 Error | Jan 11, 2019 2:15 pm | Replies: 1 | Post by: mightyfineprint |
Error message on click on the widget | Jan 6, 2019 9:52 pm | Replies: 1 | Post by: jmric68 |