Redirect 404 to Homepage

Redirect 404 missing pages to the homepage using SEO 301 redirection. Super lightweight!

v1.0pipdigUpdated Added 70k+ installs92% rating
88
Score
4
Errors
4
Warnings
+0
Change

Category Scores

Security80
Repo100
Performance100
Maintainability94

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

8 findings

Maintainability

4

2 issue groups

Security

4

3 issue groups

ERRORMaintainabilityparse url parse urlparse_url() is discouraged because of inconsistency in the output across PHP versions; use wp_parse_url() instead.3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

parse_url() is discouraged because of inconsistency in the output across PHP versions; use wp_parse_url() instead.

WARNINGSecurityInput is not validatedDetected usage of a possibly undefined superglobal array index: $_SERVER['REQUEST_METHOD']. Check that the array index exists before using it.2
Category
Security
Occurrences
2
Severity
warning

Sample message

Detected usage of a possibly undefined superglobal array index: $_SERVER['REQUEST_METHOD']. Check that the array index exists before using it.

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_SERVER['REQUEST_URI']1
Category
Security
Occurrences
1
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_SERVER['REQUEST_URI']

WARNINGSecurityRequest data is not unslashed$_SERVER['REQUEST_URI'] not unslashed before sanitization. Use wp_unslash() or similar1
Category
Security
Occurrences
1
Severity
warning

Sample message

$_SERVER['REQUEST_URI'] not unslashed before sanitization. Use wp_unslash() or similar

ERRORMaintainabilitytrunk stable tagIncorrect Stable Tag. It's recommended not to use "Stable Tag: trunk". Your Stable Tag is meant to be the stable version of your plugin and it needs to be exactly the same with the Version in your main plugin file's header. Any mismatch can prevent users from downloading the correct plugin files from WordPress.org.1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Incorrect Stable Tag. It's recommended not to use "Stable Tag: trunk". Your Stable Tag is meant to be the stable version of your plugin and it needs to be exactly the same with the Version in your main plugin file's header. Any mismatch can prevent users from downloading the correct plugin files from WordPress.org.

Score History

First score snapshot

v1.0

88

Latest

Findings
8
Errors
4
Warnings
4
Check
2.0.0

Related Plugins

100
Shortcode Redirect

10k+ active installs

100
Attachment Pages Redirect

20k+ active installs

99
Specia Companion

4k+ active installs

99
301 Redirects & 404 Error Log

30k+ active installs

97