Laravel SEO: one registry for every URL a crawler sees
Laravel 13, Blade, two locales, no SEO package. A bilingual public site usually carries four lists of the same URLs, and each one is an SEO surface. The routes file holds one. The sitemap builder holds a second. The layout that prints canonical and hreflang tags holds a third. The language switcher in the footer holds a fourth. Nothing makes those four agree, and they come apart in a specific…
Laravel 13 allows a single table to manage all SEO elements for a bilingual website, eliminating the need for multiple lists. The routes file, sitemap builder, layout with canonical and hreflang tags, and language switcher all reference one table. When a new page is added, its key is inserted into the table, and all SEO elements update accordingly. This eliminates duplicate content and ensures consistent SEO representation.
Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.