1. Home
  2. Docs
  3. 404 to 301
  4. Excluding links from 404 logs and email

Excluding links from 404 logs and email

If you would like to exclude a few links from error logs or email alerts, you can add them to the exclude paths option in plugin settings page. You can add a full link, some part of the link or even a word.

Note

If an excluded string is found in the 404 url, it will be ignored from the error logs and email alerts. Not from the redirect.

Do not worry if these are real broken links (404s), our plugin will still redirect them (unless you have disabled redirect manually) to an existing page. Only error logs and email alerts will be excluded for your convenience.

This feature is useful if you see multiple error logs for an asset URL (JS, CSS or Image), which you don’t care to fix. Sometimes these errors can happen by an active plugin or theme. So adding them to exclude path can avoid annoying email notifications and unwanted error logs.

How can we help?