• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

hreflang – google webmasters

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › hreflang – google webmasters

This topic is: not resolved

Tagged: hreflang

  • This topic has 4 replies, 2 voices, and was last updated 7 years, 8 months ago by jrubem.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • September 12, 2017 at 12:07 pm #211370
    jrubem
    Participant

    Hi everyone.
    I use Eleven40 Pro Theme. I need acess header php for put a tag hreflang.
    This tag:
    <link rel="alternate" href="https://romearmageddon.com/" hreflang="en-us" />.
    I used Simple Hook to put hreflang, but google continued to display error messages.
    Now, I want put it in header.php but it does not exist in my studiopress eleven40 pro theme.
    Where is it?
    I need very much your help.
    Thanks.

    http://romearmageddon.com
    September 12, 2017 at 1:47 pm #211371
    Victor Font
    Moderator

    The link is not in your source code. Are you using a cache?


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    September 12, 2017 at 2:06 pm #211372
    jrubem
    Participant

    Hi Victor, thanks for you attention.
    My domain is jacksonrubem.com . I redirect it to romearmageddon.com

    September 12, 2017 at 2:59 pm #211378
    Victor Font
    Moderator

    You're hreflang link isn't in the source code for jacksonrubem.com either. Keep in mind that you need confirmation links in both sites:

    "If page A links to page B, page B must link back to page A. If this is not the case for all pages that use hreflang annotations, those annotations may be ignored or not interpreted correctly."


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    September 12, 2017 at 4:42 pm #211382
    jrubem
    Participant

    Hi Victor,
    The Domain Jacksonrubem.com was redirected to romearmageddon.com
    Why putting the tag <link rel="alternate" href="https://romearmageddon.com/" hreflang="en-us" /> google does not understand that my site is in English? Do you mean that every post I have to do what you guided me?
    I tried to solve the problem using studiopress header scripts, but it did not work. If I had access to the header in my child theme, I could try it another way.
    Now I do not know what else to do. The phrase:
    "If page A links to page B, page B must link back to page A. If this is not the case for all pages that use hreflang annotations, those annotations may be ignored or not interpreted correctly." It is very generic and says nothing.
    It's been a long time since I've been trying to figure this out. The solution would be to access the header, but the child theme of eleven40 pro does not offer. I already asked for help from studiopress, but the answer I received was what I already knew and did not work.
    Please, I need a step by step of what I have to do, because I am not a technician.
    Thank you for trying to help me.

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble