Divi WordPress Theme
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix Href attribute for each page ?

Discussion in 'Misc WordPress Requests' started by WordPress.org Forums », Feb 13, 2018.

  1. WordPress.org Forums »


    Href attribute for each page ?, by


    I’d like to add hreflang attribute to my website but the url of the page doesn’t change automatically.

    For example on that page https://www.votre-jardin.fr/conception-jardin/fonctionnement/

    I’ve got

    <link rel=”alternate” href=”https://www.votre-jardin.fr/” hreflang=”fr” />

    but it should be instead:

    <link rel=”alternate” href=”https://www.votre-jardin.fr/conception-jardin/fonctionnement/” hreflang=”fr” />

    Do I need to change manually the code for each page or is it normally automatic ?


    Href attribute for each page ?

Share This Page

Monarch Social Sharing Plugin