简体   繁体   中英

Wordpress qTranslate and sub-domain help needed

OK I have my website running Wordpress at http://www.visualise.ca/ and I installed the qTranslate plugin to have a bilingual installation. If you visit http://www.visualise.ca/?lang=fr you will see the french version of my website.

The problem is that it messes up my AJAX scripts so I would like to use the qTranslate option that allows me to have my french version in a sub-domain at http://fr.visualise.ca/ instead.

When I activate this option the http://fr.visualise.ca/ returns blank (Server not found) so here are my questions:

1) I guess I have to use .htaccess? If yes, what's the syntax?

2) I created sub-domain fr.visualise.ca and made it point to the root document folder of my Wordpress installation, is that ok?

Many thanks for your time and help

UPDATE: Actually it was working I had to use and create a sub-domain for fr.www.visualise.ca instead of fr.visualise.ca... Which is kind of ugly:-/

You will add to the CNAME records to your DNS-Server or set a "catch all" like *.yourdomain.com

I had to make sure that the http://fr.visualise.ca subdomain exists and is map to right folder on the web server (same folder as the visualise.ca domain)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM