We need to create a custom RSS feed URL named /feed/, however, when we try /feed/ now it redirects to /rss/ - can we create a new feed with the path /feed/?
We need it to remain as /feed/ and not /rss/, this is due to the numerous aggregators that index us.
Post your routes.yaml and redirects.yaml ?
They haven’t been touched yet.
Routes now look like this:
routes:
/feed/:
template: feed/feed
content_type: text/xml
/feed/ directory with feed file in theme
It’s that default redirection from /feed/ to /rss/ that needs to be removed.
I got it working, there was no need to touch the core.
Awesome, glad to hear! :)