Language versions (hreflang)
Tell search engines which pages are the same page in another language. Build one page per language (for example diensten, en/services, de/leistungen), then link them as a group: every page of the group gets hreflang tags for all its languages plus x-default. Nothing changes for pages you do not link.
Try it with your AI assistant
Once WebsitePublisher is connected to your AI assistant, paste one of these into the chat.
@WebsitePublisher link the Dutch, English and German versions of my services page for Google@WebsitePublisher make Dutch the default language for search enginesWith WebsitePublisher, link the Dutch, English and German versions of my services page for GoogleWith WebsitePublisher, make Dutch the default language for search enginesWith WebsitePublisher, link the Dutch, English and German versions of my services page for GoogleWith WebsitePublisher, make Dutch the default language for search enginesEndpoints (4)
Link the language versions of one page as a group: pages = language code => page slug (from list_pages), at least 2. Every page in the group then carries hreflang tags for all languages of the group, and x-default for the default language. Calling it again for the same group replaces it; a page can be in one group only. Run it again after renaming a page. Remove hreflang tags written by hand in those pages, so there is only one set.
| Field | Type | Required | Description |
|---|---|---|---|
group |
string | ✓ Yes | Short name for this page in all languages, e.g. "services". |
pages |
object | ✓ Yes | Language => page slug, e.g. {"nl": "diensten", "en": "en/services", "de": "de/leistungen"}. Codes like nl, en, pt-BR. |
default_language |
string | No | Optional: the main language, used for x-default (same as set-default). |
Remove a group: its pages no longer carry hreflang tags.
| Field | Type | Required | Description |
|---|---|---|---|
group |
string | ✓ Yes |
Set the main language of the site: x-default then points to the page in that language in every group that has one.
| Field | Type | Required | Description |
|---|---|---|---|
language |
string | ✓ Yes | Language code, e.g. nl. |
All linked groups with their languages and page paths, and the default language.
No input parameters required.
MCP Tool Names
When using this integration through an AI assistant (Claude, ChatGPT, Cursor, etc.), the endpoints are available as MCP tools:
| Endpoint | MCP Tool Name |
|---|---|
| link-pages | hreflang_link_pages |
| unlink-group | hreflang_unlink_group |
| set-default | hreflang_set_default |
| list | hreflang_list |
Website