You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now i just added this if ($_SERVER['QUERY_STRING'] == "") in the code
The text was updated successfully, but these errors were encountered:
wdebusschere
changed the title
No self-referencing hreflang for urls with query parameters
Do not serve hreflang information if the url is not a canonical url
Jun 5, 2024
Problem: No self-referencing hreflang for urls with query parameters
Example url https://www.domain.be/fr/devis?activity=activity1
If a URL is not a canonical URL - meaning is has parameters and links to a clean URL via link rel="canonical" → do not serve hreflang information.
Hreflang:
Hreflang should be:
Right now i just added this if
($_SERVER['QUERY_STRING'] == "")
in the codeThe text was updated successfully, but these errors were encountered: