Background of the issue:
I am trying to set up hreflang tags for our organization's websites to direct users to the appropriate regional site. We have a main site (edify.org) for North American supporters, and two regional sites for East Africa (ea.edify.org) and West Africa (wa.edify.org). I want users in East Africa to see the ea.edify.org site, in West Africa to see the wa.edify.org site, and all other regions to see the main edify.org site. I believe I need to use specific hreflang tags to achieve this. The current hreflang tags on the site are not set up correctly for this purpose.
Symptoms:
The current hreflang tags do not direct users to the correct regional sites as intended.
Questions:
How do I update the current hreflang tags to achieve the desired outcome of directing users to the correct regional sites?
Is adding custom languages the right solution for my hreflang tag issue?
This means the redirect feature and hreflang tags are not the same.
WPML automatically sets hreflang tags for each language according to the configured language codes.
If you need automatic redirects by region, you’ll need a separate geolocation plugin — hreflang alone won’t handle that. You can find compatible third-party plugins here: https://wpml.org/plugin-functionality/geotargeting/