<p>The issue was I had a section called news which was referencing a template that didn't exist. Craft saw that for the /news url it should call the template defined in the section, but as it didn't exist it was displaying the 'page not found' page.</p>

CC BY-SA 3.0
2014-08-14T04:53:20.857Z
2014-08-14T04:53:20.857Z
Anthony
<p>I have a section called 'news' (url: /news) and have setup in my templates folder /news/index.html which I could access previously.
I then created a route: news/* to go to another template and then deleted it. I can now no longer access /news and it gives the 404 error page.
I have duplicated the news template and renamed it to newsblah and when I go to the url /newsblah I can view the page.</p>

<p>I have cleared the cache on the settings page. Any ideas as to why this may be? very puzzling...</p>

CC BY-SA 3.0
2014-08-13T13:32:03.443Z
Can you post a screenshot of your Route?
Brandon Kelly
CC BY-SA 3.0
2014-08-13T23:10:42.860Z
@BrandonKelly I worked it out - I had a section called news which was interfering with the routing
Anthony
CC BY-SA 3.0
2014-08-13T23:59:08.217Z
Great! Can you post an answer below explaining what the issues was, to help the next guy?
Brandon Kelly
<templating>
404 on template
# 404 on template

(Asked by: username_0 on 2014-08-13)

I have a section called 'news' (url: /news) and have setup in my templates folder /news/index.html which I could access previously.
I then created a route: news/\* to go to another template and then deleted it. I can now no longer access /news and it gives the 404 error page.
I have duplicated the news template and renamed it to newsblah and when I go to the url /newsblah I can view the page.

I have cleared the cache on the settings page. Any ideas as to why this may be? very puzzling...

**Tags:** templating

> **Comments:**
> **username_1**: Can you post a screenshot of your Route?  
> **username_0**: @BrandonKelly I worked it out - I had a section called news which was interfering with the routing  
> **username_1**: Great! Can you post an answer below explaining what the issues was, to help the next guy?  

---

## 1 answers

### Answer by username_0 on 2014-08-14. Score: 2

The issue was I had a section called news which was referencing a template that didn't exist. Craft saw that for the /news url it should call the template defined in the section, but as it didn't exist it was displaying the 'page not found' page.


---

