# Netlify.toml redirect deployed but not working?

**URL:** <https://answers.netlify.com/t/netlify-toml-redirect-deployed-but-not-working/36191>\
**Category:** Support\
**Tags:** redirects\
**Created:** [April 19, 2021, 8:44am UTC](https://answers.netlify.com/t/netlify-toml-redirect-deployed-but-not-working/36191 "2021-04-19T08:44:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Troas](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/troas/32/24491_2.png) [@Troas](https://answers.netlify.com/u/Troas)\
**Post date:** [April 19, 2021, 8:44am UTC](https://answers.netlify.com/t/netlify-toml-redirect-deployed-but-not-working/36191/1 "2021-04-19T08:44:41Z")

</div>

I am trying to redirect [https://www.davidwillprice.com/web/f1-prediction-game-2021](https://www.davidwillprice.com/web/f1-prediction-game-2021) to [https://www.davidwillprice.com/f1-prediction-game-2021](https://www.davidwillprice.com/f1-prediction-game-2021) via a netlify.toml file.

This is my netlify.toml file:

> [[redirects]]  
> from = “/web/f1-prediction-game-2021”  
> to = “/f1-prediction-game-2021”  
> status = 301  
> force = true  
> query = {path = “:path”}

When deploying on Netlify, it says:

> **1 redirect rule processed**  
> All redirect rules deployed without errors.

I already have:

> force = true

which seems to be the issue for a lot of other topics I have seen.

Any help appreciated!

---

<div class="post-metadata">

**Author:** ![gregraven](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/gregraven/32/23821_2.png) [@gregraven](https://answers.netlify.com/u/gregraven)\
**Post date:** [April 19, 2021, 1:30pm UTC](https://answers.netlify.com/t/netlify-toml-redirect-deployed-but-not-working/36191/2 "2021-04-19T13:30:44Z")

</div>

@Troas Welcome to the Netlify community.

Have you tried something like this?

```auto
[[redirects]]
  from = "/web/f1-prediction-game-2021/*"
  to = "/f1-prediction-game-2021/:splat"
  status = 301

```

---

<div class="post-metadata">

**Author:** ![Troas](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/troas/32/24491_2.png) [@Troas](https://answers.netlify.com/u/Troas)\
**Post date:** [April 19, 2021, 1:41pm UTC](https://answers.netlify.com/t/netlify-toml-redirect-deployed-but-not-working/36191/3 "2021-04-19T13:41:46Z")

</div>

> [@gregraven](#):
>
> `splat`

@gregraven Thank you very much for the welcome and the solution! The redirect is working now.

Please could you explain why your redirect worked where mine didn’t?

---

<div class="post-metadata">

**Author:** ![gregraven](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/gregraven/32/23821_2.png) [@gregraven](https://answers.netlify.com/u/gregraven)\
**Post date:** [April 19, 2021, 1:55pm UTC](https://answers.netlify.com/t/netlify-toml-redirect-deployed-but-not-working/36191/4 "2021-04-19T13:55:56Z")

</div>

My understanding is that even though you do not show the index.html portion of your URL, it is still there, and must be accounted for in the redirect.
