Why do I get "Broken INTERNAL link on xyz
", where xyz is NOT the IP address of the server where the website is hosted?
To be more specific: my website address is 'myExample.com
' and there is another IP address let's call it 'anotherExample
'. I get 'Broken INTERNAL link on anotherExample'. The referrer is 'http://anotherExample/somePHPFile.php'
and the Requested URL is of course '/somePHPFile.php'
.
You probably have the middleware django.middleware.common.BrokenLinkEmailsMiddleware
enabled. According to Django docs it sends broken link notification emails to MANAGERS
.
Solution: just remove the BrokenLinkEmailsMiddleware
item from MIDDLEWARES
in your settings.py
.