• Resolved annie12d

    (@annie12d)


    Hello support,

    Just wondering if you could have a look for me, we are testing hreflang plugin in our staging site before pushing to production. The set up is relatively easy but when I checked on the source code it’s not showing hreflang code, do you know why this is happening?

    Thanks,

    Annie

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Dani

    (@devdani)

    Hello Annie,

    Here are a few things I recommend checking:

    • If the URL to Connect value uses the URL of the production site, the hreflang tags will not be added on the staging site.
    • The plugin uses wp_head to print data in the front-end section. Make sure the active theme correctly implements wp_head according to WordPress theme development standards. Ref: https://developer.ww.wp.xz.cn/reference/hooks/wp_head/
    • Enable Options → Tag Inspector to quickly check whether the hreflang tags are being generated by the plugin.
    • Make sure the defined URL to Connect exactly matches the site URL, including protocol and any trailing slashes.
    • Set the Options → HTTPS value according to whether the site is actually served over HTTPS.

    If you need any further assistance, please let us know.

    • This reply was modified 5 months, 1 week ago by Dani.
    • This reply was modified 5 months, 1 week ago by Dani.
    • This reply was modified 5 months, 1 week ago by Dani.
    • This reply was modified 5 months, 1 week ago by Dani.
    Thread Starter annie12d

    (@annie12d)

    Hi Dani,

    Thanks so much to resolve this promptly.

    Cheers,

    Annie

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.