Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 293895

Problematic hreflang links when using entity as front page.

$
0
0

Problem/Motivation

Default frontpage settings

Hreflang links were pointing to the actual node view page ("node/9") instead of just front ("/") when using that node as a front page (google sent a notification about the issue).

Hreflangs before

Proposed resolution

Don't create hreflang links from the entity route, just add the languages prefix to root path.

Hreflangs after


Viewing all articles
Browse latest Browse all 293895

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>