Urgent.News

What's breaking now, across thousands of outlets.

Tech

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.

Read the original at dev.to →

More in Tech

Effortless OGP & Web Metadata Extraction: A Developer’s Hands-On Review

1. Introduction & Background When building modern web applications—such as bookmarking tools, content aggregators, or social messaging platforms—providing visual link previews is essential for a great…

  • Simplifies OGP data extraction with single endpoint
  • Requires HTTP headers for authentication and URL query
  • Handles redirects and missing attributes gracefully

More from Thursday 27 August →