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

Popular automatic website translation tool

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

Postby hjrobert » Tue Aug 20, 2013 1:00 pm

"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 ?
Last edited by hjrobert on Tue Aug 20, 2013 2:36 pm, edited 1 time in total.
hjrobert
 
Posts: 36
Joined: Thu May 02, 2013 8:27 am

Re: Error for enterprise

Postby hjrobert » Tue Aug 20, 2013 1:00 pm

website
Last edited by hjrobert on Fri Jun 12, 2015 7:59 am, edited 1 time in total.
hjrobert
 
Posts: 36
Joined: Thu May 02, 2013 8:27 am

Re: Error for enterprise

Postby hjrobert » Tue Aug 20, 2013 1:41 pm

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 ?
hjrobert
 
Posts: 36
Joined: Thu May 02, 2013 8:27 am

Re: Error for enterprise [solved] how we do 301 direction ?

Postby Yana » Wed Aug 21, 2013 12:29 am

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]
Regards,

Yana Ghahramanyan - GTranslate Team

Please leave your feedback on your CMS plugin directory. It is very important for us!
Google Translate Joomla
Google Translate WordPress
Google Translate Drupal
Yana
 
Posts: 4134
Joined: Thu Jan 12, 2012 6:21 pm


  • Related Topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 0 guests

2GLux
cron