All 404 Redirect to Homepage

Using this plugin, you can fix all 404 error links by redirecting them to homepage using the SEO 301 redirection. Improve your SEO rank & pages speed

v5.6wp-buyUpdated Added 200k+ installs82% rating100% support resolved
25
Score
140
Errors
301
Warnings
+0
Change

Category Scores

Security0
Repo89
Performance100
Maintainability10

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

441 findings

Maintainability

242

13 issue groups

Security

172

10 issue groups

I18n

12

2 issue groups

ERRORMaintainabilitydate datedate() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.44
Category
Maintainability
Occurrences
44
Severity
error

Sample message

date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.

WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.42
Category
Maintainability
Occurrences
42
Severity
warning

Sample message

Use of a direct database call is discouraged.

WARNINGMaintainabilityNon-prefixed global variableGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$class".41
Category
Maintainability
Occurrences
41
Severity
warning

Sample message

Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$class".

WARNINGMaintainabilityNo CachingDirect database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().40
Category
Maintainability
Occurrences
40
Severity
warning

Sample message

Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<button onclick='goToPage($i)' class='$class'>$i</button>"'.35
Category
Security
Occurrences
35
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<button onclick='goToPage($i)' class='$class'>$i</button>"'.

WARNINGSecurityInterpolated SQL is not preparedUse placeholders and $wpdb-&gt;prepare(); found interpolated variable $table_name at &quot;SELECT * FROM $table_name WHERE url = %s&quot;34
Category
Security
Occurrences
34
Severity
warning

Sample message

Use placeholders and $wpdb-&gt;prepare(); found interpolated variable $table_name at &quot;SELECT * FROM $table_name WHERE url = %s&quot;

WARNINGSecurityDatabase parameter is not escapedUnescaped parameter $table_name used in $wpdb-&gt;get_results()33
Category
Security
Occurrences
33
Severity
warning

Sample message

Unescaped parameter $table_name used in $wpdb-&gt;get_results()

WARNINGMaintainabilityerror log error logerror_log() found. Debug code should not normally be used in production.33
Category
Maintainability
Occurrences
33
Severity
warning

Sample message

error_log() found. Debug code should not normally be used in production.

WARNINGSecurityRequest data is not unslashed$_GET[&#039;order&#039;] not unslashed before sanitization. Use wp_unslash() or similar29
Category
Security
Occurrences
29
Severity
warning

Sample message

$_GET[&#039;order&#039;] not unslashed before sanitization. Use wp_unslash() or similar

ERRORMaintainabilityfile system operations fwriteFile operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fwrite().16
Category
Maintainability
Occurrences
16
Severity
error

Sample message

File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fwrite().

Show 15 more
WARNINGSecurityInput is not validated14
Category
Security
Occurrences
14
Severity
warning

Sample message

Detected usage of a possibly undefined superglobal array index: $_POST[&#039;email&#039;]. Check that the array index exists before using it.

WARNINGMaintainabilityNon-prefixed function9
Category
Maintainability
Occurrences
9
Severity
warning

Sample message

Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: &quot;clear_redirects_log_handler&quot;.

WARNINGSecurityInput is not sanitized9
Category
Security
Occurrences
9
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_GET[&#039;order&#039;]

ERRORSecurityLike Wildcards In Query8
Category
Security
Occurrences
8
Severity
error

Sample message

SQL wildcards for a LIKE query should be passed in through a replacement parameter. Found: LIKE '%%facebook.com%%'.

ERRORI18nMissing Arg Domain6
Category
I18n
Occurrences
6
Severity
error

Sample message

Missing $domain parameter in function call to __().

ERRORI18nNon Singular String Literal Text6
Category
I18n
Occurrences
6
Severity
error

Sample message

The $text parameter must be a single text string literal. Found: $options['key']

WARNINGMaintainabilitySchema Change5
Category
Maintainability
Occurrences
5
Severity
warning

Sample message

Attempting a database schema change is discouraged.

WARNINGSecurityNonce verification recommended4
Category
Security
Occurrences
4
Severity
warning

Sample message

Processing form data without nonce verification.

ERRORSecurityDatabase parameter is not escaped3
Category
Security
Occurrences
3
Severity
error

Sample message

Unescaped parameter $query used in $wpdb->get_results()\n$query assigned unsafely at line 135.

ERRORSecuritySQL query is not prepared3
Category
Security
Occurrences
3
Severity
error

Sample message

Use placeholders and $wpdb->prepare(); found $query

ERRORMaintainabilityfile system operations fclose3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fclose().

ERRORMaintainabilityfile system operations fopen3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fopen().

WARNINGMaintainabilityMissing Version3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

Resource version not set in call to wp_enqueue_script(). This means new versions of the script may not always be loaded due to browser caching.

ERRORMaintainabilityfile system operations is writeable2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: is_writeable().

ERRORMaintainabilityNot Allowed1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Use of heredoc syntax (<<<) is not allowed; use standard strings or inline HTML instead

Score History

First score snapshot

v5.6

25

Latest

Findings
441
Errors
140
Warnings
301
Check
2.0.0

Related Plugins