Bug description
Routes and languages for topics/taxonomies inherited from pages should retain their correct language tag mapping in meta tags
How to reproduce
- Multisite
- Enable 'alternate_locales'
- Set a route for entry to use /blog/{{ categories | first }}/{{ slug }}
- Check {{ seo_pro:meta }} output on taxonomy index (listing all taxonomies) in any other site except the default. show (single taxonomy view) works as expected
Current result:
<link rel="alternate" href="http://localhost/fr/blog/categories" hreflang="en">
<link rel="alternate" href="http://localhost/fr/blog/categories" hreflang="x-default">
<link rel="alternate" href="http://localhost/fr" hreflang="fr">
<link rel="alternate" href="http://localhost/es" hreflang="es">
<link rel="alternate" href="http://localhost/pt" hreflang="pt">
Expected result:
<link rel="alternate" href="http://localhost/blog/categories" hreflang="en">
<link rel="alternate" href="http://localhost/blog/categories" hreflang="x-default">
<link rel="alternate" href="http://localhost/fr/blog/categories" hreflang="fr">
<link rel="alternate" href="http://localhost/es/blog/categories" hreflang="es">
<link rel="alternate" href="http://localhost/pt/blog/categories" hreflang="pt">
Logs
Environment
Environment
Laravel Version: 12.53.0
PHP Version: 8.5.2
Composer Version: 2.9.4
Environment: local
Debug Mode: ENABLED
Maintenance Mode: OFF
Timezone: UTC
Locale: en
Cache
Config: NOT CACHED
Events: NOT CACHED
Routes: NOT CACHED
Views: CACHED
Drivers
Broadcasting: log
Cache: file
Database: sqlite
Logs: stack / single
Mail: log
Queue: sync
Session: file
Storage
public/storage: NOT LINKED
Statamic
Addons: 2
Sites: 4 (🇬🇧 English, 🇫🇷 French, 🇪🇸 Spanish, 🇵🇹 Portuguese)
Stache Watcher: Enabled (auto)
Static Caching: Disabled
Version: 6.8.0 PRO
Statamic Addons
jacksleight/statamic-bard-texstyle: 4.0.2
statamic/seo-pro: 7.3.0
Additional details
No response
Bug description
Routes and languages for topics/taxonomies inherited from pages should retain their correct language tag mapping in meta tags
How to reproduce
Current result:
Expected result:
Logs
Environment
Additional details
No response