Robots.txt rewrite 1.6.1

Does Robots.txt rewrite work with WordPress 6.8.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: 1.22 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.8.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=02e75d3abb
Aspect after-activation
HTTP status 200
Load time 0.232 s
Memory usage 3.53 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.492 s
Memory usage 3.54 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.202 s
Memory usage 3.44 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.332 s0.277 s-0.055 s3.51 MiB3.51 MiB+ 6.66 KiB
/wp-admin/edit.php0.194 s0.186 s-0.008 s3.57 MiB3.58 MiB+ 7.41 KiB
/wp-admin/post-new.php0.761 s0.605 s-0.156 s6.06 MiB6.07 MiB+ 11.09 KiB
/wp-admin/upload.php0.731 s0.326 s-0.405 s3.52 MiB3.51 MiB- 10 KiB
/wp-admin/options-writing.php0.193 s0.196 s+0.003 s3.5 MiB3.5 MiB- 6.01 KiB
/wp-admin/media-new.php0.259 s0.390 s+0.131 s3.49 MiB3.49 MiB+ 2.19 KiB
/wp-admin/edit-tags.php?taxonomy=category0.177 s0.247 s+0.070 s3.5 MiB3.52 MiB+ 12.86 KiB
/wp-admin/post-new.php?post_type=page0.606 s0.594 s-0.012 s6.05 MiB6.06 MiB+ 6.62 KiB
/wp-admin/options-discussion.php0.329 s0.273 s-0.056 s3.5 MiB3.49 MiB- 9.51 KiB
/wp-admin/edit-comments.php0.193 s0.204 s+0.011 s3.52 MiB3.51 MiB- 10.01 KiB
/0.287 s0.187 s-0.100 s3.43 MiB3.44 MiB+ 2.15 KiB
Average 0.369 s0.317 s-0.052 s3.97 MiB3.97 MiB+ 1.22 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

[01-Oct-2025 23:06:28 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
[01-Oct-2025 23:06:28 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
[01-Oct-2025 23:06:31 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
[01-Oct-2025 23:06:31 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
[01-Oct-2025 23:06:31 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
[01-Oct-2025 23:06:33 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
[01-Oct-2025 23:06:34 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
[01-Oct-2025 23:06:34 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
[01-Oct-2025 23:06:34 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
[01-Oct-2025 23:06:35 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
[01-Oct-2025 23:06:37 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
[01-Oct-2025 23:06:37 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
[01-Oct-2025 23:06:37 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
[01-Oct-2025 23:06:38 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
[01-Oct-2025 23:06:38 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