Enterprise Setup

Popular automatic website translation tool

Enterprise Setup

Postby cromustang » Fri May 10, 2013 3:34 am

Edvard, Yana where you are?
pls help me urgently.
how to exactly setup cname record for enterprise version for wordpress???
cromustang
 
Posts: 2
Joined: Fri May 10, 2013 3:22 am

Re: Enterprise Setup

Postby Yana » Fri May 10, 2013 3:34 pm

Hi,
You will need to login to your hosting control panel and create cname records for the languages which you want to use.
You can find the documentation here https://gtranslate.io/docs/58-gtranslat ... umentation

Please let me know if you have any questions.
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: 4133
Joined: Thu Jan 12, 2012 6:21 pm

Re: Enterprise Setup

Postby androidgyan » Fri May 10, 2013 5:58 pm

Hi,

now its all ok with CNAME records but now I have problem with redirections
example

when I type in address bar link
http://de.androidgyan.com site redirects to main url http://www.androidgyan.com

please help me.

what exctly I must fix in htaccess file

here is my file

Code: Select all
RewriteRule ^([a-z]{2}|zh-CN|zh-TW)/(.*)$ http://$1.androidgyan.com/$2 [R=301,L,QSA]

#ATOM Feeds
RewriteRule atom.xml feed/atom/ [L,R=301]
RewriteRule feeds/posts/default feed/atom/ [L,R=301]
#RSS FEEDS
RewriteRule feeds/posts/default?alt=rss feed/ [L,R=301]
RewriteRule rss.xml feed/ [L,R=301]
#Comments Feed
RewriteRule /feeds/comments/default  comments/feed/  [L,R=301]
RewriteRule /feeds/comments/default?alt=rss comments/feed/  [L,R=301]

#Redirect archives
RewriteRule ^([0-9]{4})_([0-9]{1,2})_([0-9]{1,2})_archive.html$ $1/$2/ [L,R=301]
#Redirect labels/categories
RewriteRule ^search/label/(.*)$ category/$1/ [L,R=301]

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress
androidgyan
 
Posts: 1
Joined: Fri May 10, 2013 5:55 pm

Re: Enterprise Setup

Postby Yana » Mon May 13, 2013 1:46 am

Hi,
Please remove www redirection of your website and add the following rules after RewriteEngine On

RewriteCond %{HTTP:X-GT-Lang} ^$
RewriteCond %{HTTP_HOST} ^androidgyan.com
RewriteRule (.*) http://www.androidgyan.com/$1 [R=301,L]

If you cannot remove www please let us know and we will configure it on our server.
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: 4133
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 1 guest

2GLux
cron