How do I change the "Access Denied" message?
For Drupal 7 &amp; 8, you can set your access denied page and your page not found page easily. Go to /admin/config/system/site-information and review the error page section.