Robots.txt rewrite 1.6.1

Does Robots.txt rewrite work with WordPress 6.5.3 and PHP 8.1.12? 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: -4.52 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 version6.5.3
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
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=f1f79214c0
Aspect after-activation
HTTP status 200
Load time 0.261 s
Memory usage 3.38 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.490 s
Memory usage 3.39 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.201 s
Memory usage 3.36 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.403 s0.323 s-0.080 s3.44 MiB3.44 MiB+ 7.28 KiB
/wp-admin/edit.php0.286 s0.234 s-0.052 s3.46 MiB3.47 MiB+ 7.65 KiB
/wp-admin/post-new.php0.935 s0.617 s-0.318 s5.59 MiB5.6 MiB+ 11.65 KiB
/wp-admin/upload.php0.606 s0.471 s-0.135 s3.38 MiB3.37 MiB- 9.02 KiB
/wp-admin/options-writing.php0.225 s0.212 s-0.013 s3.37 MiB3.36 MiB- 17.05 KiB
/wp-admin/media-new.php0.307 s0.252 s-0.055 s3.35 MiB3.35 MiB+ 3.17 KiB
/wp-admin/edit-tags.php?taxonomy=category0.194 s0.208 s+0.014 s3.37 MiB3.38 MiB+ 8.34 KiB
/wp-admin/post-new.php?post_type=page0.563 s0.595 s+0.032 s5.59 MiB5.59 MiB+ 7.23 KiB
/wp-admin/options-discussion.php0.246 s0.500 s+0.254 s3.36 MiB3.35 MiB- 8.52 KiB
/wp-admin/edit-comments.php0.510 s0.235 s-0.275 s3.39 MiB3.38 MiB- 9.77 KiB
/0.385 s0.208 s-0.177 s3.42 MiB3.37 MiB- 50.68 KiB
Average 0.424 s0.350 s-0.073 s3.79 MiB3.79 MiB- 4.52 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 36.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

[08-May-2024 19:12:04 UTC] PHP Deprecated:  strpos(): Passing null to parameter #2 ($needle) of type string is deprecated in /wp-content/plugins/robotstxt-rewrite/robotstxt-rewrite-admin.php on line 43
[08-May-2024 19:12:05 UTC] PHP Deprecated:  strpos(): Passing null to parameter #2 ($needle) of type string is deprecated in /wp-content/plugins/robotstxt-rewrite/robotstxt-rewrite-admin.php on line 43
[08-May-2024 19:12:07 UTC] PHP Deprecated:  strpos(): Passing null to parameter #2 ($needle) of type string is deprecated in /wp-content/plugins/robotstxt-rewrite/robotstxt-rewrite-admin.php on line 43
[08-May-2024 19:12:08 UTC] PHP Deprecated:  strpos(): Passing null to parameter #2 ($needle) of type string is deprecated in /wp-content/plugins/robotstxt-rewrite/robotstxt-rewrite-admin.php on line 43
[08-May-2024 19:12:08 UTC] PHP Deprecated:  strpos(): Passing null to parameter #2 ($needle) of type string is deprecated in /wp-content/plugins/robotstxt-rewrite/robotstxt-rewrite-admin.php on line 43
[08-May-2024 19:12:11 UTC] PHP Deprecated:  strpos(): Passing null to parameter #2 ($needle) of type string is deprecated in /wp-content/plugins/robotstxt-rewrite/robotstxt-rewrite-admin.php on line 43
[08-May-2024 19:12:12 UTC] PHP Deprecated:  strpos(): Passing null to parameter #2 ($needle) of type string is deprecated in /wp-content/plugins/robotstxt-rewrite/robotstxt-rewrite-admin.php on line 43
[08-May-2024 19:12:12 UTC] PHP Deprecated:  strpos(): Passing null to parameter #2 ($needle) of type string is deprecated in /wp-content/plugins/robotstxt-rewrite/robotstxt-rewrite-admin.php on line 43
[08-May-2024 19:12:13 UTC] PHP Deprecated:  strpos(): Passing null to parameter #2 ($needle) of type string is deprecated in /wp-content/plugins/robotstxt-rewrite/robotstxt-rewrite-admin.php on line 43
[08-May-2024 19:12:13 UTC] PHP Deprecated:  strpos(): Passing null to parameter #2 ($needle) of type string is deprecated in /wp-content/plugins/robotstxt-rewrite/robotstxt-rewrite-admin.php on line 43
[08-May-2024 19:12:16 UTC] PHP Deprecated:  strpos(): Passing null to parameter #2 ($needle) of type string is deprecated in /wp-content/plugins/robotstxt-rewrite/robotstxt-rewrite-admin.php on line 43
[08-May-2024 19:12:16 UTC] PHP Deprecated:  strpos(): Passing null to parameter #2 ($needle) of type string is deprecated in /wp-content/plugins/robotstxt-rewrite/robotstxt-rewrite-admin.php on line 43
[08-May-2024 19:12:17 UTC] PHP Deprecated:  strpos(): Passing null to parameter #2 ($needle) of type string is deprecated in /wp-content/plugins/robotstxt-rewrite/robotstxt-rewrite-admin.php on line 43
[08-May-2024 19:12:17 UTC] PHP Deprecated:  strpos(): Passing null to parameter #2 ($needle) of type string is deprecated in /wp-content/plugins/robotstxt-rewrite/robotstxt-rewrite-admin.php on line 43
[08-May-2024 19:12:17 UTC] PHP Deprecated:  strpos(): Passing null to parameter #2 ($needle) of type string is deprecated 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