# Why  .Permalink  for homepage outputs rss xml file?

**URL:** <https://discourse.gohugo.io/t/why-permalink-for-homepage-outputs-rss-xml-file/16562>\
**Category:** support\
**Created:** [January 23, 2019, 10:27am UTC](https://discourse.gohugo.io/t/why-permalink-for-homepage-outputs-rss-xml-file/16562 "2019-01-23T10:27:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hoangtaybaokiem1993](https://avatars.discourse-cdn.com/v4/letter/h/8491ac/32.png) [@hoangtaybaokiem1993](https://discourse.gohugo.io/u/hoangtaybaokiem1993)\
**Post date:** [January 23, 2019, 10:27am UTC](https://discourse.gohugo.io/t/why-permalink-for-homepage-outputs-rss-xml-file/16562/1 "2019-01-23T10:27:46Z")

</div>

Hi. I need some rss customization. And if I put this rss code in my config file, home page permalink stops working. Instead of href=https://mypage.com/ it outputs href=https://mypage.com/rss.xml

```auto
[outputs]
home = ["RSS", "HTML"]

[outputFormats]
[outputFormats.RSS]
mediatype = "application/rss+xml"
baseName = "rss"

```

What would be a good solution for this. Do you think its a problem on my side or is it a bug in hugo?  
Thanks

---

<div class="post-metadata">

**Author:** ![alexandros](https://avatars.discourse-cdn.com/v4/letter/a/ecc23a/32.png) [@alexandros](https://discourse.gohugo.io/u/alexandros)\
**Post date:** [January 23, 2019, 10:29am UTC](https://discourse.gohugo.io/t/why-permalink-for-homepage-outputs-rss-xml-file/16562/2 "2019-01-23T10:29:35Z")

</div>

> [@hoangtaybaokiem1993](#):
>
> Do you think its a problem on my side or is it a bug in hugo?

The order of Output Formats matters.

Reverse what you have and then `.Permalink` will output HTML.  
i.e. `home = ["HTML", "RSS"]`
