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
In article pages an unpublished page for a localization causes the other localizations to generate hreflang tags linking to that unpuplished page. Only if the article for the localization is deleted, the hreflang tag also gets deleted. If an article is created for the first time and no other localization version for the article exists, the hreflang tags are correct.
Expected Behavior
Just like in normal pages, articles should not be generating hreflang tags for unpublished articles.
Steps to Reproduce
create an article and a version of the same article in another language. then unpublish one of them and check the hreflang tags on the other one. it should be removed and not linking to a 404 page of the unpublished articles.
Possible Solutions
Fix the "alternate" in "localizations" property from true to false when unpublishing an article.
currently its like this:
should be like this:
The text was updated successfully, but these errors were encountered:
Actual Behavior
In article pages an unpublished page for a localization causes the other localizations to generate hreflang tags linking to that unpuplished page. Only if the article for the localization is deleted, the hreflang tag also gets deleted. If an article is created for the first time and no other localization version for the article exists, the hreflang tags are correct.
Expected Behavior
Just like in normal pages, articles should not be generating hreflang tags for unpublished articles.
Steps to Reproduce
create an article and a version of the same article in another language. then unpublish one of them and check the hreflang tags on the other one. it should be removed and not linking to a 404 page of the unpublished articles.
Possible Solutions
Fix the "alternate" in "localizations" property from true to false when unpublishing an article.
currently its like this:
should be like this:
The text was updated successfully, but these errors were encountered: