RSS URL or an alias

Assuming you want this output structure…

public/
├── tags/
│   ├── foo/
│   │   ├── index.html
│   │   └── index.xml
│   └── mysql/
│       ├── index.html
│       └── index.xml
└── mysql_feed.xml   <-- Duplicate of (or redirect to) public/tags/mysql/index.xml

…then you should configure a redirect on your production server.

A Hugo alias will not work because:

  1. With Hugo, you can only create aliases with an html extension.
  2. Even if you could create an alias for the xml file, the xml consumer (browser, aggregator, etc.) wouldn’t honor the meta http-equiv redirect. Or to put it another way, there’s no provision for content refresh/redirect with XML.