Robots.txt rewrite 1.6.1

Does Robots.txt rewrite work with WordPress 5.7.1 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
15PHP deprecation warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 1.08 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: insignificant.
The plugin didn't make the site noticeably slower.

Environment
WordPress version5.7.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 8,000+
WordPress.org page https://wordpress.org/plugins/robotstxt-rewrite/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 3

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL /wp-admin/plugins.php?action=activate&plugin=robotstxt-rewrite%2Frobotstxt-rewrite.php&plugin_status=all&paged=1&s&_wpnonce=2cf0fe2fcc
Aspect after-activation
HTTP status 200
Load time 0.260 s
Memory usage 2.72 MiB
JS errors None
Resource errors None

Settings → Robots.txt Options

Page screenshot: Settings → Robots.txt Options
URL /wp-admin/options-general.php?page=robots-txt-options
Aspect menu-item
HTTP status 200
Load time 0.521 s
Memory usage 2.92 MiB
JS errors None
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 200
Load time 0.300 s
Memory usage 2.65 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.298 s0.277 s-0.021 s2.82 MiB2.83 MiB+ 10.73 KiB
/wp-admin/edit.php0.201 s0.219 s+0.018 s2.86 MiB2.87 MiB+ 10.73 KiB
/wp-admin/post-new.php1.063 s1.055 s-0.008 s5.02 MiB5.05 MiB+ 23.09 KiB
/wp-admin/upload.php0.553 s0.489 s-0.064 s2.7 MiB2.7 MiB+ 6.2 KiB
/wp-admin/options-writing.php0.163 s0.150 s-0.013 s2.71 MiB2.69 MiB- 25.83 KiB
/wp-admin/media-new.php0.311 s0.200 s-0.111 s2.67 MiB2.68 MiB+ 6.37 KiB
/wp-admin/edit-tags.php?taxonomy=category0.209 s0.206 s-0.003 s2.77 MiB2.78 MiB+ 7.27 KiB
/wp-admin/post-new.php?post_type=page0.926 s0.873 s-0.053 s5.01 MiB5.02 MiB+ 14.67 KiB
/wp-admin/options-discussion.php0.351 s0.247 s-0.104 s2.67 MiB2.68 MiB+ 6.68 KiB
/wp-admin/edit-comments.php0.243 s0.332 s+0.089 s2.78 MiB2.78 MiB+ 5.58 KiB
/0.316 s0.243 s-0.073 s2.71 MiB2.65 MiB- 53.58 KiB
Average 0.421 s0.390 s-0.031 s3.16 MiB3.16 MiB+ 1.08 KiB

Code Statistics

Note: Third-party libraries and minified JS/CSS files are excluded from these statistics where possible, so the numbers you see here may be lower than those reported by other tools.

LESS
CSS
PHP
Language % Lines of code Comment lines Files
LESS44.2%2,7492664
CSS36.3%2,2571111
PHP14.2%887973
JavaScript3.7%228162
Markdown1.4%8801
JSON0.3%1601
Total 6,225 490 12

PHP Code Analysis | More results »

Lines of code 897
Total complexity 163
Median class complexity 103.0
Median method complexity 2.0
Most complex class AtfHtmlHelper
Most complex function RobotsTxtRewrite_Admin::save_options()
Classes 3
Methods 40
Functions 1

Additions

Things that the plugin adds to the site. This section is not intended to be comprehensive. The test tool only looks for a few specific types of added content.

No new entries found.

PHP Error Log 15 lines

[16-Apr-2021 01:16:34 UTC] PHP Deprecated:  strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in /wp-content/plugins/robotstxt-rewrite/robotstxt-rewrite-admin.php on line 43
[16-Apr-2021 01:16:34 UTC] PHP Deprecated:  strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in /wp-content/plugins/robotstxt-rewrite/robotstxt-rewrite-admin.php on line 43
[16-Apr-2021 01:16:36 UTC] PHP Deprecated:  strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in /wp-content/plugins/robotstxt-rewrite/robotstxt-rewrite-admin.php on line 43
[16-Apr-2021 01:16:37 UTC] PHP Deprecated:  strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in /wp-content/plugins/robotstxt-rewrite/robotstxt-rewrite-admin.php on line 43
[16-Apr-2021 01:16:37 UTC] PHP Deprecated:  strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in /wp-content/plugins/robotstxt-rewrite/robotstxt-rewrite-admin.php on line 43
[16-Apr-2021 01:16:39 UTC] PHP Deprecated:  strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in /wp-content/plugins/robotstxt-rewrite/robotstxt-rewrite-admin.php on line 43
[16-Apr-2021 01:16:40 UTC] PHP Deprecated:  strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in /wp-content/plugins/robotstxt-rewrite/robotstxt-rewrite-admin.php on line 43
[16-Apr-2021 01:16:40 UTC] PHP Deprecated:  strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in /wp-content/plugins/robotstxt-rewrite/robotstxt-rewrite-admin.php on line 43
[16-Apr-2021 01:16:40 UTC] PHP Deprecated:  strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in /wp-content/plugins/robotstxt-rewrite/robotstxt-rewrite-admin.php on line 43
[16-Apr-2021 01:16:40 UTC] PHP Deprecated:  strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in /wp-content/plugins/robotstxt-rewrite/robotstxt-rewrite-admin.php on line 43
[16-Apr-2021 01:16:42 UTC] PHP Deprecated:  strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in /wp-content/plugins/robotstxt-rewrite/robotstxt-rewrite-admin.php on line 43
[16-Apr-2021 01:16:43 UTC] PHP Deprecated:  strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in /wp-content/plugins/robotstxt-rewrite/robotstxt-rewrite-admin.php on line 43
[16-Apr-2021 01:16:43 UTC] PHP Deprecated:  strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in /wp-content/plugins/robotstxt-rewrite/robotstxt-rewrite-admin.php on line 43
[16-Apr-2021 01:16:44 UTC] PHP Deprecated:  strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in /wp-content/plugins/robotstxt-rewrite/robotstxt-rewrite-admin.php on line 43
[16-Apr-2021 01:16:44 UTC] PHP Deprecated:  strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in /wp-content/plugins/robotstxt-rewrite/robotstxt-rewrite-admin.php on line 43
See also: All tests for this plugin, How to Hide the "Robots.txt Options" Admin Menu