Wednesday, December 21, 2016

Erroneous links in my URLs - all load the home page -- not a 404 or other error.page


URLs not defined in my urls.py all show my home page and not a 404 missing page error.

For instance 

www.mysite.com  
Naturally shows my home page.

www.mysite.com/catalogs 
Shows the downloadable catalogs
 
then anything goes.

www.mysite.com/thisisanonsenselink
or
www.mysite.com/AnythingTypedHere


Shows my homepage

Why isn't my project issuing 404 or other errors when page not found?

Please advise 


--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/94dc7439-38f5-464c-b93e-001faf03491c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment