glot for WordPress.com
CMS · Universal tag
On WordPress.com, glot runs from one script tag added to every page. It translates the page in the visitor's browser and adds a language menu.
Add the glot tag
- In glot, create a project and add your languages.
- Open glot Edge → Website tag and enter your site's address: glot translates it and shows you a preview. Once the tag is pasted, check the installation there and turn the tag on.
- Copy your tag from that tab: it already carries your project and its public key (data-key). The tag below shows its shape.
<script src="https://app.glotlang.com/widget/glot.js" data-project="your-project" data-key="pk_…" async></script>- Install and activate the free WPCode (Insert Headers and Footers) plugin.
- In your site's dashboard, go to Code Snippets → Header & Footer.
- Paste the glot tag into the Header box.
- Click Save Changes.
Plan requirements
Header code and plugins are available on the Personal, Premium, Business and Commerce plans. Free sites must upgrade.
On the glot side, see Pricing for what each plan includes. glot Edge (translated URLs) is part of the Growth plan, with a limited trial on Pro.
Translated URLs for search engines
For translated pages that search engines index without running JavaScript, put glot Edge on a subdomain of your domain (es.example.com) with two DNS records:
es.example.com. CNAME edge.glotlang.com.
_glot.es.example.com. TXT "<token shown in the dashboard>"If WordPress.com manages your domain's DNS, go to Domains → your domain → Settings → DNS records → Add record and add the CNAME (Name: es, Alias of: edge.glotlang.com) and the TXT (Name: _glot.es). If your name servers are elsewhere, add the records at that provider. Not possible on a wordpress.com address.
How glot Edge worksQuestions
- Is glot a WordPress.com partner?
- No. glot is independent, and not affiliated with or endorsed by WordPress.com. This guide only uses WordPress.com's standard features.
- Does glot change my WordPress.com content?
- No. The tag translates the page in the visitor's browser; your WordPress.com content stays as it is. Remove the tag and the site is back to its source language.
- Will search engines index my translations?
- Not from the tag alone: it translates in the browser, so search engines mostly index your source language. Translated pages with their own URLs need glot Edge or a platform that publishes each language on its own URL.
- Does it work on the free plan?
- No. Free sites cannot add header code or install plugins.
- Do I type the full hostname in the DNS Name field?
- Enter only the label (es, _glot.es). WordPress.com strips the domain if you type it.
Official WordPress.com documentation
Translate your WordPress.com site
Create a project, choose your languages, and follow the steps above.
More integrations: CMS
WordPress.com is a trademark of its owner. glot is not affiliated with WordPress.com.