# Duplicate paths

**URL:** <https://discourse.gohugo.io/t/duplicate-paths/44959>\
**Category:** support\
**Created:** [June 23, 2023, 4:55pm UTC](https://discourse.gohugo.io/t/duplicate-paths/44959 "2023-06-23T16:55:52Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Arif](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/arif/32/20931_2.png) [@Arif](https://discourse.gohugo.io/u/Arif)\
**Post date:** [June 23, 2023, 4:55pm UTC](https://discourse.gohugo.io/t/duplicate-paths/44959/1 "2023-06-23T16:55:52Z")

</div>

I am getting a lot of duplicate paths (like all my 800+ pages, see example below) with `hugo printPathWarnings` in the recent versions of Hugo. I have not changed my content files lately. Is there a way to know how or why this is happening? The only changes I did is incorporate Bep’s [Tailwind starter](https://github.com/bep/hugo-starter-tailwind-basic) template.

```auto
WARN 2022/05/10 22:56:55 Duplicate target paths: \index.html (2), \index.xml (2)

```

---

<div class="post-metadata">

**Author:** ![jmooring](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/jmooring/32/4214_2.png) [@jmooring](https://discourse.gohugo.io/u/jmooring)\
**Post date:** [June 23, 2023, 5:02pm UTC](https://discourse.gohugo.io/t/duplicate-paths/44959/2 "2023-06-23T17:02:59Z")

</div>

So you are calling `PostProcess`…

[https://github.com/gohugoio/hugo/issues/7735](https://github.com/gohugoio/hugo/issues/7735)

---

<div class="post-metadata">

**Author:** ![Arif](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/arif/32/20931_2.png) [@Arif](https://discourse.gohugo.io/u/Arif)\
**Post date:** [June 23, 2023, 5:04pm UTC](https://discourse.gohugo.io/t/duplicate-paths/44959/3 "2023-06-23T17:04:42Z")

</div>

Indeed! So it is a false positive?

---

<div class="post-metadata">

**Author:** ![jmooring](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/jmooring/32/4214_2.png) [@jmooring](https://discourse.gohugo.io/u/jmooring)\
**Post date:** [June 23, 2023, 5:09pm UTC](https://discourse.gohugo.io/t/duplicate-paths/44959/4 "2023-06-23T17:09:56Z")

</div>

> [@Arif](#):
>
> So it is a false positive?

Yes.

To be sure, disable PostProcess and test again.

---

<div class="post-metadata">

**Author:** ![Arif](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/arif/32/20931_2.png) [@Arif](https://discourse.gohugo.io/u/Arif)\
**Post date:** [June 23, 2023, 5:15pm UTC](https://discourse.gohugo.io/t/duplicate-paths/44959/5 "2023-06-23T17:15:53Z")

</div>

You are right. I was using another implementation of Tailwind before this and these issues did not come up (no PostProcess was used in that implementation). It seems this bug needs some attention soon.

---

<div class="post-metadata">

**Author:** ![system](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/system/32/1_2.png) [@system](https://discourse.gohugo.io/u/system)\
**Post date:** [June 25, 2023, 5:16pm UTC](https://discourse.gohugo.io/t/duplicate-paths/44959/6 "2023-06-25T17:16:20Z")

</div>

Closed on June 25, 2023, 5:16pm UTC

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
