Same here. Every 301 is detected as 404 error, my log is big and I can’t clear it. Please fix it, thanks!
Plugin Short URL (301 only) and WP redirect 301, 302 (edit url) – I get
false is_404() (not really)
/wp-content/plugins/better-wp-security/core/modules/404-detection/class-itsec-four-oh-four.php
line 26-25
if ( ! is_404() ) {
return;
}
This Conditional Tag checks if 404 error is being displayed (after an “HTTP 404: Not Found” error occurs). This is a boolean function, meaning it returns either TRUE or FALSE.
I reworked page 404 and added filtering to avoid false errors (crutch programming)