# Hreflang Generator for WordPress

> Generate hreflang tags for WPML or Polylang multilingual WordPress sites.

Free tool: https://mars.cx/tools/hreflang-generator-for-wordpress

Multilingual WordPress needs reciprocal hreflang between translated posts, plus x-default.

## How to use

1. Add each language and URL.
2. Copy the hreflang tags.
3. Paste them into the page head.

## FAQ

### What is x-default?

The fallback page for users whose language isn't matched.

### Hreflang vs canonical?

Use hreflang for language variants; each still has its own self-referencing canonical.

### Is it free?

Yes, free with no signup.

Provided by MarsGeo — https://mars.cx