Loading...
 
Skip to main content

Issue with hreflang tag in the page header

Status
Open
Subject
Issue with hreflang tag in the page header
Version
27.x
28.x
29.x
master
Category
  • Bug
  • Easy for Newbie Dev
Feature
Search engine optimization (SEO)
Resolution status
New
Submitted by
Bernard Sfez / Tiki Specialist
Lastmod by
Bernard Sfez / Tiki Specialist
Rating
(0)
Description

We have now, when we use multilingual, an hreflang tag that is added to display alternates pages.
This is it should work;
Every page in a multilingual set should:

  • List itself with its own hreflang.
  • List all other language/region versions.


Ensure all those other pages return the favor.

But in Tiki, it create ONLY the code for the alternative pages.
IE:
I have 3 page for en, fr and de.
There should 3 alternate rel link, one for each language.
However, when I'm on the de (German language) page, I see only:

<link rel="alternate" href="tiki-index.php?page=Community Members HomePage" hreflang="en"> <link rel="alternate" href="tiki-index.php?page=Bonjour" hreflang="fr">


This leads to error on website checkers.

Image

Solution
Workaround
Importance
5
Easy to solve?
5
Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
8806
Created
Monday 11 August, 2025 18:37:35 UTC
by Bernard Sfez / Tiki Specialist
LastModif
Monday 11 August, 2025 18:41:21 UTC


Show PHP error messages