# Issue setting up redirect

**URL:** <https://answers.netlify.com/t/issue-setting-up-redirect/83901>\
**Category:** Support\
**Tags:** deployment\
**Created:** [January 24, 2023, 3:23am UTC](https://answers.netlify.com/t/issue-setting-up-redirect/83901 "2023-01-24T03:23:47Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![mjgs](https://avatars.discourse-cdn.com/v4/letter/m/ce73a5/32.png) [@mjgs](https://answers.netlify.com/u/mjgs)\
**Post date:** [January 24, 2023, 3:23am UTC](https://answers.netlify.com/t/issue-setting-up-redirect/83901/1 "2023-01-24T03:23:47Z")

</div>

I am having an issue setting up a 301 redirect. Here is the netlify.toml entry:

```auto
[[redirects]]
  from = "/feeds/rss"
  to = "https://markjgsmith.com/feeds/podcast/feed.xml"
  status = 301

```

I was expecting requests for:

[https://s8qj.netlify.app/feeds/rss](https://s8qj.netlify.app/feeds/rss)

To be redirected to:

[https://markjgsmith.com/feeds/podcast/feed.xml](https://markjgsmith.com/feeds/podcast/feed.xml)

But that isn’t happening.

Why don’t the requests get redirected?

---

<div class="post-metadata">

**Author:** ![Melvin](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/melvin/32/23606_2.png) [@Melvin](https://answers.netlify.com/u/Melvin)\
**Post date:** [January 24, 2023, 11:04am UTC](https://answers.netlify.com/t/issue-setting-up-redirect/83901/2 "2023-01-24T11:04:27Z")

</div>

Hi @mjgs,

Thanks for reaching out!

Have you seen Netlify’s Support Guide on debugging redirects?

I strongly suggest you give it a thorough read through and see if this fixes your problem:

> [@\[Support Guide\] Making redirects work for you - troubleshooting and debugging](https://answers.netlify.com/t/support-guide-making-redirects-work-for-you-troubleshooting-and-debugging/13433):
>
> Last reviewed by Netlify Support in July 2025 Introduction You’ve put blood, sweat and tears into building an incredible static site with all the bells and whistles. However, you’ve configured some redirect rules and you’ve come unstuck… they don’t appear to be working! Ensure you’ve followed the correct guidance Our [redirects and rewrites document](https://docs.netlify.com/routing/redirects/) covers a broad range of use cases, from [status codes](https://docs.netlify.com/routing/redirects/redirect-options/#http-status-codes) to [proxying another service](https://docs.netlify.com/routing/redirects/rewrites-proxies/#proxy-to-another-service) and everything in between. Ensure you’re using the correct syntax …

Could you try adding `force = true` under the `status = 301` and see if that resolves the issue?

If you’re still having issues, could you provide a link to your Netlify site and we’ll continue to troubleshoot. Thanks!

---

<div class="post-metadata">

**Author:** ![mjgs](https://avatars.discourse-cdn.com/v4/letter/m/ce73a5/32.png) [@mjgs](https://answers.netlify.com/u/mjgs)\
**Post date:** [January 24, 2023, 1:17pm UTC](https://answers.netlify.com/t/issue-setting-up-redirect/83901/3 "2023-01-24T13:17:36Z")

</div>

> [@mjgs](#):
>
> [https://s8qj.netlify.app](https://s8qj.netlify.app)

Thanks @Melvin I’ll have a read through the doc you linked.

Here’s the site:  
[https://s8qj.netlify.app](https://s8qj.netlify.app)

The RSS feed that I’m trying to redirect is accessible from the nav.

---

<div class="post-metadata">

**Author:** ![mjgs](https://avatars.discourse-cdn.com/v4/letter/m/ce73a5/32.png) [@mjgs](https://answers.netlify.com/u/mjgs)\
**Post date:** [January 25, 2023, 1:54am UTC](https://answers.netlify.com/t/issue-setting-up-redirect/83901/4 "2023-01-25T01:54:30Z")

</div>

@Melvin Reading the docs, it looks like it’s not working because the original file is still in the source location. The docs say to force the redirect in this situation.

I first tried using 300! which is what the docs you sent say. That didn’t work, so I tried what you wrote in your previous post, using force = true, and that appears to have worked.

---

<div class="post-metadata">

**Author:** ![luke](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/luke/32/39_2.png) [@luke](https://answers.netlify.com/u/luke)\
**Post date:** [January 25, 2023, 8:27am UTC](https://answers.netlify.com/t/issue-setting-up-redirect/83901/5 "2023-01-25T08:27:18Z")

</div>

Hi, @mjgs. Thank you for the follow-up and there is an explanation.

Forcing the redirect using the status code followed by an exclamation mark (like `301!`) is the syntax for the file `_redirects` only. It doesn’t work in `netlify.toml`.

The solution (which you already stated above) is using `force=true` as that is the `netlify.toml` syntax.

---

<div class="post-metadata">

**Author:** ![mjgs](https://avatars.discourse-cdn.com/v4/letter/m/ce73a5/32.png) [@mjgs](https://answers.netlify.com/u/mjgs)\
**Post date:** [January 26, 2023, 12:38am UTC](https://answers.netlify.com/t/issue-setting-up-redirect/83901/6 "2023-01-26T00:38:36Z")

</div>

@luke Thanks for your help
