I was trying to follow through WPML tutorial to set up language subdomains. However, Siteground doesn't offer cPanel in their hosting service. They use something called "site tools". When I create a subdomain, a new public_html folder under that subdomain will be automatically created. I was unable to point language subdomains such as de.pioneersnonpareil.com to my main public_html folder because Siteground doesn't offer any domain tools for that.
Siteground support wrote back with a solution using symbolic links as such but they would like me to double check with you guys:
1. Create subdomains using SiteTools (when one does that, the url folders are created under /www/); issue new SSL certificates for them if necessary
2. Go to each language url folder (fr.yoursite.com) under /www/ which was created by Siteground's SiteTools when subdomain was generated, and delete the public_html folder.
3. run this command via command line for each and every language to be added:
Change the second argument for every language you have. (Be careful about having no slash "/" at the end of each argument)
4. Go to WPML language setting and input the subdomain URLs and save.
All set. Good luck!
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.