# HS Search module showing duplicate blog posts.

**URL:** <https://community.hubspot.com/t/hs-search-module-showing-duplicate-blog-posts/81728>\
**Category:** CMS Development\
**Tags:** enterprise\
**Created:** [May 22, 2023, 4:57pm UTC](https://community.hubspot.com/t/hs-search-module-showing-duplicate-blog-posts/81728 "2023-05-22T16:57:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![MHowe](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mhowe/32/52876_2.png) [@MHowe](https://community.hubspot.com/u/MHowe)\
**Post date:** [May 22, 2023, 4:57pm UTC](https://community.hubspot.com/t/hs-search-module-showing-duplicate-blog-posts/81728/1 "2023-05-22T16:57:51Z")

</div>

During the development of one of our sites we used a test blog with real blog posts and we called it “Test Blog”. When we launched we either changed the name to “Blog” or created a new blog and removed “Test Blog”. When you search for certain blog posts, it will return duplicate posts, one with /blog/ in the url and one with /test-blog/ url that goes to a 404.  
There is no instance of “Test Blog” anymore and there are no re-directs still in place. I have this to robots.txt but it still returns when you search:

```auto
Disallow: /test-blog/
Disallow: /test-blog/*

```

What else can I try?

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [May 23, 2023, 8:06pm UTC](https://community.hubspot.com/t/hs-search-module-showing-duplicate-blog-posts/81728/2 "2023-05-23T20:06:32Z")

</div>

Hi, @MHowe 👋 Thanks for your question.

I have a few of my own to help give the community more context:

- Are these old URLs are still indexed by Google or another search engine? If so, have you already requested a re-crawl or removal of the obsolete URLs?
- Are these duplicates appearing in the HubSpot CMS search or on an external search engine?
- Is there any chance that “test-blog” URLs might have been hardcoded anywhere on your site? For example, in blog templates, modules, or elsewhere?

Thank you for the additional information! — Jaycee

---

<div class="post-metadata">

**Author:** ![MHowe](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mhowe/32/52876_2.png) [@MHowe](https://community.hubspot.com/u/MHowe)\
**Post date:** [May 23, 2023, 9:10pm UTC](https://community.hubspot.com/t/hs-search-module-showing-duplicate-blog-posts/81728/3 "2023-05-23T21:10:33Z")

</div>

Thank you for responding Jaycee:

- I will look further into this, I am not 100% sure.
- Just the HubSpot CMS, more specificaly the native HubSpot search module. When I search in Google only one listing (the correct one) comes up)
- There are no hard-coded urls that would include “test-blog”
