Tag and Author Page showing 404 in multi language site

When i am trying to access the following url, getting 404 error.

http://localhost:2368/fr/tag/getting-started/
http://localhost:2368/fr/author/ghost/

http://localhost:2368/es/tag/getting-started/
http://localhost:2368/es/author/ghost/

but default link (http://localhost:2368/tag/getting-started/) is working. Where i have to correct my routes.yaml file or what’s missing there?

Theme : Casper

I am using the following code in routes.yaml

routes:

collections:
  /:
    permalink: /{slug}/
    template: index
    filter: 'tag:-fr+tag:-es'
  /fr/:
    permalink: /fr/{slug}/
    template: fr
    filter: 'tag:fr'    

  /es/:
    permalink: /es/{slug}/
    template: es
    filter: 'tag:es'

    
taxonomies:
  tag: /tag/{slug}/
  author: /author/{slug}/

What you’re trying to do is not a supported use case for dynamic routing. Dynamic Routing only provides routing for posts, pages and static assets. You might be able to add routes for a list of authors in multiple languages, but since the individual authors are dynamic data, it’s not possible to e.g. display the Ghost author in spanish and english.

1 Like

So it will not support for the tag and author.

Very sad. I think multi language should work properly for all the pages and even easier way.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.