Robots.txt Editor

Robots.txt for WordPress

v1.1.4ProcessbyUpdated 2021-01-16Added May 3, 201910k+ installs90% rating
72
Score
10
Errors
7
Warnings
+0
Change

Category Scores

Security54
Repo94
Performance100
Maintainability92

Top Issues by Category

Issues Details

17 issues found in latest scan

WARNING6
WordPress.Security.ValidatedSanitizedInput.InputNotValidatedNotSanitized

Detected usage of a non-sanitized, non-validated input variable _SERVER: "{$_SERVER['DOCUMENT_ROOT']}/robots.txt"

ERROR2
Generic.PHP.DisallowShortOpenTag.EchoFound

Short PHP opening tag used with echo; expected "<?php echo $robotsUrl ..." but found "<?= $robotsUrl ..."

ERROR2
WordPress.Security.EscapeOutput.OutputNotEscaped

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$robotsUrl'.

ERROR2
WordPress.Security.EscapeOutput.UnsafePrintingFunction

All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.

ERROR2
WordPress.WP.AlternativeFunctions.rename_rename

rename() is discouraged. Use WP_Filesystem::move() to rename a file.

WARNING1
WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound

Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: &quot;$robotsUrl&quot;.

ERROR1
WordPress.WP.I18n.NoEmptyStrings

The $text text string should have translatable content. Found: ''

ERROR1
outdated_tested_upto_header

Tested up to: 5.6 < 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.

Latest Snapshot

Findings

17

Errors

10

Warnings

7

Score History

First score snapshot

First scan completed Jun 20, 2026

v1.1.4 · Plugin Check 2.0.0 · Model 2026.06-mvp-static-v2

Jun 20, 2026

v1.1.4

72

Latest

Findings
17
Errors
10
Warnings
7
Plugin Check
2.0.0
Model
2026.06-mvp-static-v2

Related Plugins