Can this module work with the Locale core module for international sites?
For example: To have www.mysite.com and mysite.com be the english, and es.mysite.com be the spanish one
Can this module work with the Locale core module for international sites?
For example: To have www.mysite.com and mysite.com be the english, and es.mysite.com be the spanish one
Comments
Comment #1
setvik commentedTo make subdomain work with Locale, you'll need to make a small tweak.
After you've installed Subdomain and applied the included patches (see readme.txt), you'll need to modify one of the RewriteCond statements in your .htaccess file.
The included htaccess patch inserts the following near the bottom of your .htaccess file
Edit the 2nd RewriteCond statement to prevent Apache from rewriting subdomains for installed locales.
e.g. If you want to support Spanish, you'd change that 2nd RewriteCond to:
If you want to support Spanish and French, you'd change it to:
Hope that helps.
Comment #2
setvik commentedComment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.