Tag and Author Page showing 404 in multi language site


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



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


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

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

  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.

closed #4

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