Answers.Body: <p>Probably what you're seeing the the generic webserver 404 error page... which means there's something wrong with your server config, as its not sending 404's to Craft to handle.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-08-14T01:14:09.453Z
Answers.LastActivityDate: 2017-08-14T01:14:09.453Z
Answers.UserDisplayName: andrew.welch
Body: <p>When I type mydomain.dev/blahwrongurl - for some reason .htaccess doesn't redirect to the 404.html file, but just write the blahwrong url out on the page and nothing else?</p>
  
  <p>I get the feeling that I messed up routes somewhere, but I deactivated all of my plugins but nothing changed.</p>
  
  <p>Does anyone know why?</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-12-15T03:24:14.137Z
Comments.Text: Are you defining custom routes? Have you modified the stock Craft `.htaccess` file?  Have you defined a custom 404.html/.twig file?
Comments.UserDisplayName: Brad Bell
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-12-15T06:01:30.440Z
Comments.Text: I've remove any custom routes, I've deactivated all plugins and haven't changed anything in the .htaccess file. Still same problem.
Comments.UserDisplayName: Beuschau
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-12-15T11:56:36.773Z
Comments.Text: You can see an example here http://www.husetsforsikring.dk/blah
Comments.UserDisplayName: Beuschau
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-12-15T23:41:57.810Z
Comments.Text: Weird... have you defined a 404.html file in your templates folder?
Comments.UserDisplayName: Brad Bell
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-12-16T06:01:27.850Z
Comments.Text: Yes I have and it works when I use husetsforsikring.dk/404.html
Comments.UserDisplayName: Beuschau
Tags: <404>
Title: 404 issues and redirect/.htaccess
ThreadText: # 404 issues and redirect/.htaccess
  
  (Asked by: username_0 on 2016-12-14)
  
  When I type mydomain.dev/blahwrongurl - for some reason .htaccess doesn't redirect to the 404.html file, but just write the blahwrong url out on the page and nothing else?
  
  I get the feeling that I messed up routes somewhere, but I deactivated all of my plugins but nothing changed.
  
  Does anyone know why?
  
  **Tags:** 404
  
  > **Comments:**
  > **username_1**: Are you defining custom routes? Have you modified the stock Craft `.htaccess` file?  Have you defined a custom 404.html/.twig file?  
  > **username_0**: I've remove any custom routes, I've deactivated all plugins and haven't changed anything in the .htaccess file. Still same problem.  
  > **username_0**: You can see an example here http://www.husetsforsikring.dk/blah  
  > **username_1**: Weird... have you defined a 404.html file in your templates folder?  
  > **username_0**: Yes I have and it works when I use husetsforsikring.dk/404.html  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2017-08-14. Score: 1
  
  Probably what you're seeing the the generic webserver 404 error page... which means there's something wrong with your server config, as its not sending 404's to Craft to handle.
  
  
  ---
  
  