How to detect incoming 401 links(plugin?)

If a link to our site is coming in from an external site how can I detect it and add it to a list?

Basically: external link points to []( , add the link source and destination to a list. Maybe send the WP admin an email notification.

Example: A marketer sends out an email to a group and makes a mistake with using the wrong url. It would be cool to be able to detect that and make a 301 or some other solution..

Edit: I meant to say 404 error not 401! What is a 401 error even?!

1 Comment


This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer