Hreflang Sync by Sitemaps
A WordPress plugin that generates and syncs hreflang tags from XML sitemaps for multilingual sites.
by Vladimir Rekowski · github.com/wowanium/hreflang-sync-by-sitemaps · website
★ 0stars
2release downloads
0forks
Install
The author publishes release zips, so WP-CLI can install straight from GitHub:
wp plugin install https://github.com/wowanium/hreflang-sync-by-sitemaps/releases/download/v1.0.5/hreflang-sync-by-sitemaps.zipFrom the readme
Hreflang Sync by Sitemaps
WordPress plugin that generates hreflang tags for multi-domain website clusters by syncing URL slugs from XML sitemaps.
What it does
If you manage several country domains or regional sites with the same URL structure, manual hreflang mapping becomes slow and error-prone. This plugin is built for a more practical setup:
- each site uses the same page pattern, such as /store/{slug}/
- the same slug exists across multiple domains
- hreflang tags should only be output when the matching page actually exists on the target domain
The plugin fetches sitemap data, extracts slugs by prefix, stores a cache per domain, and prints valid alternate tags in the page .
Main features
- supports multi-domain hreflang setups
- parses both urlset and sitemapindex XML sitemaps
- syncs slugs from each configured domain
- outputs rel="alternate" hreflang="..." tags only for real matches
- supports a custom path prefix such as /store/, /casino/, or /bookmakers/
- optional x-default output
- scheduled daily sync via WordPress cron
- manual sync option from the WordPress admin panel
Requirements
- WordPress 5.8 or higher
- PHP 7.4 or higher
Installation
1. Download or clo
Read the full README on GitHub →
Releases
| Tag | Published | Asset | Downloads |
|---|---|---|---|
| v1.0.5 | Mar 16, 2026 | hreflang-sync-by-sitemaps.zip | 2 |