# Creating 301 redirects for existing URLs

**URL:** <https://community.prismic.io/t/creating-301-redirects-for-existing-urls/13975>\
**Category:** Developing with Prismic\
**Created:** [August 28, 2023, 9:23am UTC](https://community.prismic.io/t/creating-301-redirects-for-existing-urls/13975 "2023-08-28T09:23:17Z")\
**Posts on this page:** 1\
**Showing post:** 3

<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:** [August 28, 2023, 2:39pm UTC](https://community.prismic.io/t/creating-301-redirects-for-existing-urls/13975/3 "2023-08-28T14:39:05Z")

</div>

Hi @scott ,

Welcome to the community, I'll be happy to help 🙂

This is something that would need to implemented in both the repository and the code of you website project. Here are some solutions on how to configure that in the custom types.

> [@How to handle 301s](https://community.prismic.io/t/how-to-handle-301s/3714):
>
> Any ideas for how to handle 301s in Prismic? Our marketing team needs to be able to add and edit 301s. I was thinking of simply creating a Custom Type for 301s, one field for the old URL and another field for where we want that traffic redirected to. Any reason that's a bad idea or another way you think we could handle it? One issue I see with that is a lack of validation around the old URL. There is the possibility that the URL we're redirecting is actually a good, live URL. In that case, I …

> [@Is it possible to set up 301 redirects for a static site within Prismic?](https://community.prismic.io/t/is-it-possible-to-set-up-301-redirects-for-a-static-site-within-prismic/11359/2):
>
> Hello @david.al.fox, since this isn't directly related to your Prismic repository, I'd recommend you read Netlify's official docs: [Next.js redirects and rewrites on Netlify | Netlify Docs](https://docs.netlify.com/integrations/frameworks/next-js/redirects-and-rewrites/)

Are you the developer of this project? If not you'll need to reach out to them to implement this for you.

Thanks.

---

_[View the full topic](https://community.prismic.io/t/creating-301-redirects-for-existing-urls/13975)._
