Aliases not working for TAGS


I tried to use the aliases features for my tag section,

I create a using the same path:


And the file works ; i can customize my tag section, but using the aliases feature does not work (it works for regular posts).

I use the following syntax:

aliases: /tags/USA2

and put it in /tags/USA/ if i want to redirect the USA2 tag to USA. What am I doing wrong?


ps: i did some search on the forums, and the aliases feature seems to work for the tag section: Aliases for tag names

Adding one or more aliases to a term page is no different from adding them to any other page. As described, your example produces this:

├── posts/
│   ├── post-1/
│   │   └── index.html
│   └── index.html
├── tags/
│   ├── USA2/
│   │   └── index.html
│   ├── usa/
│   │   └── index.html
│   └── index.html
└── index.html

The issue, is that: when i add an alias to a post, it redirect from the old post to the new one (I delete the old .md then) ; but adding an alias to a tag page does not do anything for me.

I expected a redirection from the old tag to the new tag page ; or that both tag sections would be the same (like in your example, duplicating the content from the regular tag to the aliased tag section) (?)

Then there is something different about your site. Without access to your site, I have no idea what’s different.

can i send you a PM with a link to my website hugo files?