# 2 urls for the same web page

**URL:** <https://community.prismic.io/t/2-urls-for-the-same-web-page/1046>\
**Category:** Prismic for Content Creators\
**Created:** [June 30, 2020, 9:52am UTC](https://community.prismic.io/t/2-urls-for-the-same-web-page/1046 "2020-06-30T09:52:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tools](https://avatars.discourse-cdn.com/v4/letter/t/a3d4f5/32.png) [@tools](https://community.prismic.io/u/tools)\
**Post date:** [June 30, 2020, 9:52am UTC](https://community.prismic.io/t/2-urls-for-the-same-web-page/1046/1 "2020-06-30T09:52:24Z")

</div>

HI Prismic Team and Community !

We have a little problem.  
We have 2 urls pour the same destination page :  
travaux/architecte-coiffeur  
travaux/travaux-architecte-coiffeur

**Attached screenshot :** The page created 7 months ago had been modified but it seems that there are two urls.

 ![Capture d’écran 2020-06-30 à 10.57.20](https://europe1.discourse-cdn.com/flex013/uploads/prismic/original/1X/90789e89678257d79474b04f1806476947601dfa.png)  
The second url should not exist.  
May be a cache issue?  
Can you help us please?  
Thanks a lot.  
All the best,

Rémi

---

<div class="post-metadata">

**Author:** ![Phil](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/phil/32/14_2.png) [@Phil](https://community.prismic.io/u/Phil)\
**Post date:** [June 30, 2020, 10:03am UTC](https://community.prismic.io/t/2-urls-for-the-same-web-page/1046/2 "2020-06-30T10:03:50Z")

</div>

Hey Team,

This is a UID history issue, this and the solution are discussed further here:

> [@When does cache expire? (UID History)](https://community.prismic.io/t/when-does-cache-expire/874/3):
>
> Hi @Alan-SpotHero, Prismic saves all previous UID (“slug” in your case) values for a given document. This way if the UID value is changed, old links aren’t broken. You have a couple of options for this. 1. Setup a rerouting system (recommended) For this, you just need to make a check in your routing system. If the UID used isn’t the current UID value, something like this: if (uid !== document.uid) Then redirect to the url that uses the current UID. This will ensure that old links aren’t br…

Thanks.

---

<div class="post-metadata">

**Author:** ![Phil](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/phil/32/14_2.png) [@Phil](https://community.prismic.io/u/Phil)\
**Post date:** [June 30, 2020, 10:03am UTC](https://community.prismic.io/t/2-urls-for-the-same-web-page/1046/3 "2020-06-30T10:03:56Z")

</div>



---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/system/32/1746_2.png) [@system](https://community.prismic.io/u/system)\
**Post date:** [December 9, 2021, 3:05pm UTC](https://community.prismic.io/t/2-urls-for-the-same-web-page/1046/4 "2021-12-09T15:05:22Z")

</div>


