LH Force Lowercase URLs

Perform a 301 redirect from an uppercase URL to the lowercase version for all non-admin URLs

v1.01shawfactorUpdated Added 2k+ installs94% rating
90
Score
4
Errors
3
Warnings
+0
Change

Category Scores

Security86
Repo89
Performance100
Maintainability97

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

7 findings

Security

3

2 issue groups

Repo Compliance

2

2 issue groups

Maintainability

1

1 issue group

I18n

1

1 issue group

WARNINGSecurityInput is not validated or sanitizedDetected usage of a non-sanitized, non-validated input variable _SERVER: "://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]"2
Category
Security
Occurrences
2
Severity
warning

Sample message

Detected usage of a non-sanitized, non-validated input variable _SERVER: "://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]"

WARNINGSecuritywp redirect wp redirectwp_redirect() found. Using wp_safe_redirect(), along with the "allowed_redirect_hosts" filter if needed, can help avoid any chances of malicious redirects within code. It is also important to remember to call exit() after a redirect so that no other unwanted code is executed.1
Category
Security
Occurrences
1
Severity
warning

Sample message

wp_redirect() found. Using wp_safe_redirect(), along with the "allowed_redirect_hosts" filter if needed, can help avoid any chances of malicious redirects within code. It is also important to remember to call exit() after a redirect so that no other unwanted code is executed.

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

Sample message

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

ERRORRepo Complianceoutdated tested upto headerTested up to: 6.0 < 7.0. The "Tested up to" value in your plugin is not set to the current version of WordPress. This means your plugin will not show up in searches, as we require plugins to be compatible and documented as tested up to the most recent version of WordPress.1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Tested up to: 6.0 < 7.0. The "Tested up to" value in your plugin is not set to the current version of WordPress. This means your plugin will not show up in searches, as we require plugins to be compatible and documented as tested up to the most recent version of WordPress.

ERRORRepo Complianceplugin header no licenseMissing "License" in Plugin Header. Please update your Plugin Header with a valid GPLv2 (or later) compatible license.1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Missing "License" in Plugin Header. Please update your Plugin Header with a valid GPLv2 (or later) compatible license.

ERRORI18ntextdomain invalid formatThe "Text Domain" header in the plugin file should only contain lowercase letters, numbers, and hyphens. Found "lh_force_lowercase_urls".1
Category
I18n
Occurrences
1
Severity
error

Sample message

The "Text Domain" header in the plugin file should only contain lowercase letters, numbers, and hyphens. Found "lh_force_lowercase_urls".

Score History

First score snapshot

v1.01

90

Latest

Findings
7
Errors
4
Warnings
3
Check
2.0.0

Related Plugins

100
Shortcode Redirect

10k+ active installs

100
Attachment Pages Redirect

20k+ active installs

99
Make Filename Lowercase

1k+ active installs

98