<p>Try <strong>swapping the order of your Routes</strong> (drag and drop), so that specific resources are routed first and the homepage fallback is positioned second. </p>

<p>Routes are applied in the order the appear in <strong>Settings</strong> > <strong>Routes</strong> i.e. If a route criteria is matched then Craft doesn't seem to try the rest. </p>

<p>More info here: <a href="https://craftcms.com/docs/routing">https://craftcms.com/docs/routing</a> just in case you haven't seen it already. </p>

<p>Let us know if that helps. </p>

CC BY-SA 3.0
2016-05-10T05:07:12.263Z
2016-05-10T05:07:12.263Z
Matt P
<p>I am trying to redirect a bunch of uploads from our old website that no longer exist. I have one specific section I wanted to route to a resources page, but the rest will simply redirect to the home page.</p>

<p><code>/uploads*</code>: redirects to homepage</p>

<p><code>/uploads/resources*</code>: redirects to resources</p>

<p>The first redirect is overruling the second, and everything in /uploads is redirecting to the home page. Is there a way to make a special exception for this one folder? Through using a regex or something else?</p>

CC BY-SA 3.0
2016-05-09T23:42:25.533Z
How are you doing the redirects?  Through `.htaccess`?  If so, can you share your code?
Brad Bell
<redirect>
Redirects are Overriding each other
# Redirects are Overriding each other

(Asked by: username_0 on 2016-05-09)

I am trying to redirect a bunch of uploads from our old website that no longer exist. I have one specific section I wanted to route to a resources page, but the rest will simply redirect to the home page.

`/uploads*`: redirects to homepage

`/uploads/resources*`: redirects to resources

The first redirect is overruling the second, and everything in /uploads is redirecting to the home page. Is there a way to make a special exception for this one folder? Through using a regex or something else?

**Tags:** redirect

> **Comments:**
> **username_1**: How are you doing the redirects?  Through `.htaccess`?  If so, can you share your code?  

---

## 1 answers

### Answer by username_2 on 2016-05-10. Score: 4

Try **swapping the order of your Routes** (drag and drop), so that specific resources are routed first and the homepage fallback is positioned second.

Routes are applied in the order the appear in **Settings** > **Routes** i.e. If a route criteria is matched then Craft doesn't seem to try the rest.

More info here: <https://craftcms.com/docs/routing> just in case you haven't seen it already.

Let us know if that helps.


---

