I have following routes.yml file.
routes:
/learn/:
data:
post: page.home
template: page
collections:
/hls-streaming/:
permalink: /hls-streaming/{slug}/
template: index
filter: primary_tag:hls-streaming
/learn/:
permalink: /learn/{slug}/
template: index
filter: primary_tag:-hls-streaming
taxonomies:
tag: /learn/tag/{slug}/
author: /learn/author/{slug}/
When I am trying to access https://example.com/hls-streaming/adaptive-bitrate-streaming/ it always redirects to https://example.com/learn/adaptive-bitrate-streaming/
I have added correct pirmary tag to that post but I am not sure why it ends up redirecting.