Page not found (404)

Request Method: GET
Request URL: http://www.aladdinmattresses.com/mattress-detail/king-simmons-beautyrest-harmony-lux-firm-hybrid/index.html

Using the URLconf defined in aladdin.urls, Django tried these URL patterns, in this order:

  1. admin/
  2. [name='home']
  3. shop/ [name='shop']
  4. mattress-detail/<str:name>/<int:id> [name='detail']
  5. reserve/mattress/<str:name>/<int:id> [name='book']
  6. mattress/accessories/<str:name>/<int:order_id> [name='accessories']
  7. mattress/shipping/<str:name>/<int:order_id> [name='shipping']
  8. search [name='search']
  9. filter [name='mattress-filter']
  10. newsletter/ [name='newsletter']
  11. about/aladdin-mattresses-and-rugs [name='about-us']
  12. contact/ [name='contact']
  13. faq/ [name='faq']
  14. backup/ [name='backup']
  15. order-thankyou/<int:order_id> [name='thankyou']
  16. appointment/ [name='appointment']
  17. appointment/booked/ [name='appointment-booked']
  18. robots.txt
  19. sitemap.xml [name='django.contrib.sitemaps.views.sitemap']
  20. ^media/(?P<path>.*)$

The current path, mattress-detail/king-simmons-beautyrest-harmony-lux-firm-hybrid/index.html, didn’t match any of these.

You’re seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard 404 page.